This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ONLY be able to pay the rent if the sum of the costs of c through f are less than or equal to the total money you make at your job. Sample Run (User input in bold and italics) How many hours do you work a week? 45 What is your hourly pay in dollars? 10.50 What is your grocery bill for the month? 200.00 What are your utility bills for the month? 150.50 What are your entertainment/other expenses for the month? 700.00 What is your rent for the month? 800.00 Great, you can pay your rent! Note: If you can't pay your rent, print out, "Sorry, you can't pay your rent."...
View Full Document
This note was uploaded on 06/09/2011 for the course COP 3223 taught by Professor Guha during the Spring '08 term at University of Central Florida.
- Spring '08