#include
#include<math.h>
using namespace std;
int main()
{
int ch;
int n1,n2,res;
cin>>ch;
while(ch==β+β || β-β || β*β || β/β || β%β)
{
cin>>n1;
cin>>n2;
if(ch==β+β)
{
res=n1+n2;
cout<<res<<endl;
}
else if(ch=='-')
{
res=n1-n2;
cout<<res<<endl;
}
else if(ch=='*')
{
res=n1*n2;
cout<<res<<endl;
}
else if(ch=='/')
{
res=n1/n2;
cout<<res<<endl;
}
else if(ch=='%')
{
res=n1%n2;
cout<<res<<endl;
}
else if(ch=='x' || 'X')
break;
else
{
cout<<"Invalid operation. Try again."<<endl;
continue;
}
}
return 0;
}
Why is it not printing any output�