This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Hint: This will involve using an if statement. Also, remember in the case of printing out your loss that you should not print a negative number. Sample Run (User input in bold and italics) What is the price of a lemon, in cents? 10 What is the price of a bag of sugar, in cents? 125 How many lemons did you use to make your pitcher of lemonade? 10 How many bags of sugar did you use to make your pitcher of lemonade? 0.2 How much did you sell a cup of lemonade for, in dollars? 0.50 Your profit for selling a pitcher of lemonade was $2.75....
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