#include <iostream>
usingnamespace std;
int main (){
int a;
char b [10];
int c;
cout<< "please enter a number \n";
cin >> a;
cout << "please enter your operator (times, subtract, divide, add) \n";
cin >> b;
cout << "please enter the final number \n";
cin >> c;
if (b=="times"){
cout << a*c;
}
elseif (b=="sub
tract"){
cout << a-c;
}
elseif (b=="divide"){
cout << a/c;
}
elseif (b=="add"){
cout << a+c;
}
else{
cout<< "this is not valid \n";
}
return 0;
}
well for the b== parts what should i put that as seeing that it will be a worded value?