Time limit exceeded

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;		

}

hello @ashishxmathew
pls always use cb ide for code sharing.

how to share via ide

a) go to -> https://ide.codingblocks.com/
b) paste ur code in editor
c) press ctrl + s
d) a link will be generated in ur search bar, share it with me

@ashishxmathew
check now->

thanks. now it is working