#include using namespace std; int main() { long inum1, inum2; char ichoice; cout << "Enter two integers separated by a space.\n"; cin >> inum1 >> inum2; cout << endl; cout << "Enter a to add the numbers,\n" << " s to subtract the numbers, or\n" << " m to multiply the numbers.\n"; cin >> ichoice; cout << endl; switch ( ichoice ) { case 'M': case 'm': cout << "The result is " << inum1 * inum2; break; case 'A': case 'a': cout << "The result is " << inum1 + inum2; break; case 'S': case 's': 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 ); }