Basic calculator in contest

#include
using namespace std;
int main()
{
int a,b,result;
char ch;
do{
cin>>ch;
if(ch==‘X’||ch==‘x’)
break;
if(ch!=’+’&&ch!=’-’&&ch!=’’&&ch!=’/’&&ch!=’%’)
{
cout<<“Invalid operation. Try again”<<endl;
continue;
}
cin>>a;
cin>>b;
if(ch==’+’)
cout<<a+b<<endl;
else if(ch==’-’)
cout<<a-b<<endl;
else if(ch==’
’)
cout<<a*b<<endl;
else if(ch==’/’)
cout<<a/b<<endl;
else if(ch==’%’)
cout<<“a%b”<<endl;
}while(1);
return 0;
}
it is giving me 33 percent score why

@nimishkhattar07 please post your saved code on cb.lk/ide this will generate a url that url you have to post.