Plz help me i don't know why i am not geting output

#include
using namespace std;
int main() {
char ch;
int a,b;
while(1){
cin>>ch;
switch(ch)
{
case β€˜+’:cin>>a>>b;
cout<<a+b<<endl;
break;
//
case '’:cin>>a>>b;
cout<<a
b<<endl;
break;
case β€˜-’:cin>>a>>b;
cout<<a-b<<endl;
break;
//
case β€˜/’:cin>>a>>b;
cout<<a/b<<endl;
break;
//
case β€˜%’:cin>>a>>b;
cout<<(a%b)<<endl;
break;
case β€˜X’:
goto p;
case β€˜x’:
goto p;
default:cout<<β€œInvalid operation. Try again”;
}
}
p:
return 0;
}

Please save your code on ide.codingblocks.com and then share its link.

sir from where i will get link

Go to ide.codingblocks.com. Paste your code there. Then go to File->Save . After that you can copy the url and paste it here.


sir u haven’t reply me
me plz tell me what is wrong in my both code

https://ide.codingblocks.com/s/347429 Check now