I'm trying to write a program that mimics a calculator where the user inputs two integers and the operation to be performed. Then I want it to output the numbers, the operator, and the result. I need to use a switch statement and I'm very confused on what to do and I can't figure out how to do it. Any help would be greatly appreciated. Thanks
#include <iostream>
using namespace std;
int main()
{
int num1;
int num2;
int total;
int arithmeticOperator;
cout << "Enter any two integers: ";
cin >> num1 >> num2;
cout << "Enter an arithmetic operator: ";
cin >> arithmeticOperator;
cout << endl;
switch (arithmeticOperator)
{
case +:
case -:
case *:
case /:
}
return 0;
}