Please tell me the problem with my code

I have made a program for basic calculator using if and else blocks, I have tested it many time and am getting the correct answer each time. Then am I not getting full marks for that?

#include
using namespace std;
int main()
{
char a;
cin>>a;
if(a==’’)
{
float y,z,result;
cin>>y>>z;
result=y
z;
cout<<result;
}
else if(a==’+’)
{
float y,z,result;
cin>>y>>z;
result=y+z;
cout<<result;
}
else if(a==’-’)
{
float y,z,result;
cin>>y>>z;
result=y-z;
cout<<result;
}
else if(a==’/’)
{
float y,z,result;
cin>>y>>z;
result=y/z;
cout<<result;
}
else if(a==’%’)
{
int y,z,result;
cin>>y>>z;
result=y%z;
cout<<result;
}
else if(a==‘x’)
{}
else if(a==‘X’)
{}
else{
cout<<“Invalid Operation.Try Again”;
}
return 0;
}

@SrijanKeshari hey srijan share your code through ide so that I can check it in my side .

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.