#include using namespace std; int main() { long inum1, inum2, ichoice; cout << "Enter two integers separated by a space.\n"; cin >> inum1 >> inum2; cout << endl; cout << "Enter 1 to add the numbers,\n" << " 2 to subtract the numbers, or\n" << " 3 to multiply the numbers.\n"; cin >> ichoice; cout << endl; switch ( ichoice ) { case 3: cout << "The result is " << inum1 * inum2; break; case 1: cout << "The result is " << inum1 + inum2; break; case 2: cout << "The result is " << inum1 - inum2; break; default: cout << "I guess you didn't want to do anything!"; } cout << "\n\n"; system( "PAUSE" ); return( 0 ); }