Unformatted text preview: // Get the hourly pay rate. cout << "How much do you get paid per hour? "; cin >> rate; //Calculate the pay pay = hours * rate; // Display the pay. cout << "You have earned $" << pay << endl; // pauses the monitor system("PAUSE"); return EXIT_SUCCESS; }...
View Full Document
- Fall '09
- Electrical Engineering, #, #include, hourly pay rate., Sarah Trayner