// Program Name: Math_1LaX4.exe // Author: Tyler Travis, Eruption Software // www.travis-usa.com // Date: 1/12/00 //This program asks the user to enter two integers //and a character. Based on the character entered, //the program will call 1 of 3 functions that will //add, subtract, or multiply the two integers entered #include void add(int num1, int num2); void subtract(int num1, int num2); void multiply(int num1, int num2); void main() { char answer; cout<<""<>num1; cout<<" Enter 2nd Integer: "; cin>>num2; cout<<" Add (a), Subtract (s), or Multiply (m): "; cin>>oper; switch (oper) { case 'a': case 'A': add(num1, num2); break; case 's': case 'S': subtract(num1, num2); break; case 'm': case 'M': multiply(num1, num2); break; } cout<<""<>answer; } while (answer == 'y' || answer == 'Y'); } void add(int num1, int num2) { cout<<""<