Unformatted text preview: cin >> raiseRate; c //calculate raise and new pay raise = currentPay * raiseRate; newPay = raise + currentPay; n //display output item cout << "New pay: " << newPay << endl; c system("pause"); return 0; } //end of main function } /* Enter current weekly pay: 100 Enter raise rate: 10 New pay: 1100 Press any key to continue . . . */...
View Full Document
This note was uploaded on 04/04/2011 for the course COSC 1315 taught by Professor Allankochis during the Spring '11 term at Austin Community College.
- Spring '11