#include <iostream>
using namespace std;
int main()
{
int a,b,c, ope;
cout<<"enter a value" << endl;
cin >> a;
cout<<"enter b value" <<endl;
cin >> b;
cout<<"enter operation (+ - * / and %)";
cin>> ope;
if (ope == +)
{
c=a+b;
cout<< c;
break;
}
if (ope == -)
{
c=a-b;
cout<< c;
break;
}
else if (ope == *)
{
c=a*b;
cout<< c;
break;
}
else if (ope == /)
{
c= a/b;
cout<< c;
break;
}
else if (ope == %)
{
c=a%b;
cout<< c;
}
else cout<<"entered wrong input";
return 0;
}
whats wrong with the code its giving me so many errors.:confused: