Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Name: James Inglis
- # Professor: Ms.Stockbridge
- # Course: Robotic Programming
- # Date: 9/11/14
- # Description: The Tipper Program.
- #
- # Getting the bill.
- bill_total = float(input("Please enter in the bill: "))
- # Calculating each percentage.
- first_total = (bill_total * 0.15) + bill_total
- second_total = bill_total * 0.20 + bill_total
- # Displaying both total bill!
- print("Your first total bill with 15% tip: ", first_total)
- print("Your second total bill with 20% tip: ", second_total)
- input("\n\nPlease enter any key to continue!!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement