You can also go to youtube and get great intro C++ videos. I find it easier to see someone do examples than read documentation (that stuff is too dry).
#include<iostream>
usingnamespace std;
int main ()
{
int x,y;
char z;
cout<<("Plz Enter The Equl : ");
cin>>"%d",&x,"%c",&z ,"%d",&y;
cin>>"%d",&y;
cin>>"%c",&z;
if(z=='+')
cout<<"total = %d \n",x+y;
elseif (z=='-')
cout<<"subtract = %d",x-y;
elseif(z=='*')
cout<<"multiply = %d" ,x*y;
elseif(z=='/')
cout<<"divide = %d",x/y;
else
("invild mark");
}
code tags, so that I can refer to lines by numbers.
line 7: not really a problem, but you don't need the parenthesis.
lines 8, 9, 10: that's some sort of crazy mix of cin >> and scanf. The right way is cin >> x >> z >> y;. operator >> acts differently depending on the type of the argument.
lines 12, 15, 18, 21: the same here. Right way is cout << "total = " << x+y;
line 23: ? You almost know how to do output, so why not write that here?