compiler is showing tle and i cant find the error in the code
#include
using namespace std;
int main()
{
char ch;
do
{
ch=cin.get();
if(ch='*','+','-','/','%')
{
int n1,n2;
cin>>n1>>n2;
if(ch='*')
cout<<(n1*n2)<<endl;
if(ch='+')
cout<<(n1+n2)<<endl;
if(ch='-')
cout<<(n1-n2)<<endl;
if(ch='/')
cout<<(n1/n2)<<endl;
if(ch='%')
cout<<(n1%n2)<<endl;
}
else
{
cout<<"Invalid operation.Try again";
}
}
while(ch!='x');
return 0;
}