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
- Spring '08
- Summation, American football, Equals sign, hourly pay