Question: #Write program prompting user to enter: 1 ) number of new bikes rented, 2 ) number of old bikes rented #Compute and display total cost

#Write program prompting user to enter: 1) number of new bikes rented, 2) number of old bikes rented
#Compute and display total cost of renting those bikes
#Assume that customers pay 5% sales tax, cost of renting old bike is $10 a day, and cost of renting new bike is $15 a day
#Display result in format below
#You can use .format() but don't round the result.
#Examples:
# Enter new bikes: 5
# Enter old bikes: 3
# Total cost: $110.25
# Enter new bikes: 2
# Enter old bikes: 4
# Total cost: $73.5
# Enter new bikes: 33
# Enter old bikes: 67
# Total cost: $1223.25

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!