This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 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 return 0 }...
View Full Document
This note was uploaded on 03/19/2008 for the course CSC 121 taught by Professor Deng during the Fall '08 term at Pennsylvania State University, University Park.
- Fall '08