Test not Passs When Submit

Every thing good no error when compilation …but after submiting show test not pass. let me explain why?

hope you reply Soon.

#include
using namespace std;
int main() {
char op;
float n1,n2;
cin>>op;
cin>>n1>>n2;
switch(op){
case ‘+’:
cout<<n1+n2;
break;
case’-’:
cout<<n1-n2;
break;
case’’:
cout<<n1
n2;
break;
case’/’:
cout<<n1/n2;
break;

	default:
	cout<<"Invalid Opration. Try again.";
	break;
}

return 0;

}

hi @dheerajjha11111_bb855e8d7a52ef0d do it in while loop like this

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.