I'm trying to make this work. Seems simple enough but it's returning only the first integer input. The invalid operator function isn't working as yet either. That is supposed to occur before user is allowed to input their 2 integers. I'm not quite done with the return into the loop after the question at the end. Any suggestions on how to get this to function right would be appreciated. Thanks
//program calculates 2 integers based on user selected operation
#include <iostream>
using namespace std;
int main()
{
// enter variables
char operation = ' ';
int num1 = 0;
int num2 = 0;
int sum = 0;
int difference = 0;
int product = 0;
int quotient = 0;