Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Name: James Inglis
- # Course: Robotics Programming
- # Professor: Ms.Stockbridge
- # Date: 9/11/14
- # Description: The Car Salesman Program.
- car_price = float(input("Please enter in car price"))
- # Calculating taxes
- taxes = car_price * 6.25
- # Calculating license total
- license_percent = car_price * 5.15
- # Calculating dealer prep.
- dealer_prep = car_price * 7.00
- # Calculating destination total.
- dest_total = car_price * 8.25
- total_car_price = car_price + taxes + license_percent + dealer_prep + dest_total
- # Displaying total price for the car.
- print("The total car price with expenses cost you: $", total_car_price)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement