text: /*
      Using a for loop, omitting loop expression, 
      to request calculations on user request
  */ 
  #include <iostream>
  using namespace std;
  
  int main()
  {
      // without loop expression (third expression missing)
      for(char userSelection = 'm'; (userSelection != 'x');)
      {
          cout << "Enter the two integers: " << endl;
          int num1 = 0, num2 = 0;
          cin >> num1;
          cin >> num2;
  
          cout << num1 << " * " << num2 << " = " << num1 * num2 << endl;
          cout << num1 << " + " << num2 << " = " << num1 + num2 << endl;
  
          cout << "Press x to exit or any other way to recalculate" << endl;
          cin >> userSelection;
      }
      cout << "Goodbye!" << endl;
  
      return 0;
  }