Calculator with operators
Read a calculation like 7 * 3: a whole number, an operator character and another whole number. Print the result for +, -, *, / and %, and Unknown operator for any other character. The second number is never 0.
std::cin >> a >> op >> b; reads all three, with or without spaces between them.
Results will be shown here
Press Run to start your program.