Basic calculator

I am unable to understand where i went wrong. Please help me with finding the error

#include
using namespace std;
int main() {
char ch;
cin>>ch;
int n1,n2;
do{
if(ch==’+’){
cin>>n1;
cin>>n2;
cout<<n1+n2<<endl;
}
else if(ch==’-’){
cin>>n1;
cin>>n2;
cout<<n1-n2<<endl;

	}
	else if(ch=='*'){
		cin>>n1;
		cin>>n2;
		cout<<n1*n2<<endl;
		
	}
	else if(ch=='/'){
		cin>>n1;
		cin>>n2;
        if(n2!=0){
		  cout<<n1/n2<<endl;
        }
	 
	}
	else if(ch=='%'){
		cin>>n1;
		cin>>n2;
        if(n2!=0){
		  cout<<n1%n2<<endl;
        }
	}
	
	else{
	     cout<<"Invalid Operation. Try again"<<endl;
		 
	}	 
	cin>>ch;
}while(ch!='X'and ch!='x');
return 0;

}