Basic calculator- launchpad

idk where i going wrong i checked the constraints , input and output still 3 test cases are giving wrong answer.

here’s my code:

#include
using namespace std;
int main()
{
char ch;
long long int n1,n2;
cin>>ch;
if((ch==’+’)||(ch==’-’)||(ch==’’)||(ch==’/’)||(ch==’%’))
{
switch(ch)
{
case ‘+’:
cin>>n1>>n2;
cout<<n1+n2;
break;
case ‘-’:
cin>>n1>>n2;
cout<<n1-n2;
break;
case '
’:
cin>>n1>>n2;
cout<<n1*n2;
break;
case ‘/’:
cin>>n1>>n2;
if(n2!=0)
{
cout<<n1/n2;

				 }	
				 break;
		case '%':
				 cin>>n1>>n2;
				 if(n2!=0)
				 {
					 cout<<n1%n2;
				 }		 	  	
				 break;


	}
	return 0;
}

else if((ch=='X')||(ch=='x'))
{
	return 0;
}

else
{
	cout<<"Invalid operation. Try again.";
}
return 0;

}

@asifiqbal0419 copy your code on ide so we can help you asap

https://ide.codingblocks.com/s/71693

I copied the link on IDE.

@asifiqbal0419 In the question given that program will not terminate until you press x or X
the correct form is https://ide.codingblocks.com/s/71694