Question

Cisc 181 Python programming exercise 2.3    Five star retro video rents VHS tapes and DVDs...

Cisc 181

Python programming exercise 2.3   

Five star retro video rents VHS tapes and DVDs to the same connoisseurs who like to buy LP record albums. The store rents new video's for $3.00 a night, and oldies for $2.00 a night.

Write a program that the clerks at Five Star Retro Video can use to calculate the total charge for a customer's video rentals.

The program should prompt the user for the number of each type of video and output the total cost.

(An example of this looks like the below lines)

Enter the number of new videos:3

Enter the number of oldies:2

Total cost is $13.0

0 0
Add a comment Improve this question Transcribed image text
Answer #1

new = int(input("Enter the number of new videos: "))

old = int(input("Enter the number of oldies: "))

print("Total cost is $",(3*new+2*old))




===============================
SEE OUTPUT



Thanks, PLEASE COMMENT if there is any concern.

Add a comment
Know the answer?
Add Answer to:
Cisc 181 Python programming exercise 2.3    Five star retro video rents VHS tapes and DVDs...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • the problem is in the first photo but when i try to code the problem and...

    the problem is in the first photo but when i try to code the problem and get the solution i get a 0% am o doing something wrong? need help Edit View History Bookmarks People Tab Window Help х Mind Tap - Cengage MindTap - Cengage Learning arse Modules: Summer 202 X ng.cengage.com/static/nb/ui/evo/index.html?deploymentid=5829622314511297 WeteransUnited... HOA PAYMENT M JOHNNY EMAIL: fi... M KATIE EMAIL: flor... EDDE CENGAGE MINDTAP Programming Exercise 2.3 Instructions Study Tools fivestar.py 1 new=int(input 2 oldvint(input 3 total=(new...

  • Four Star Video has been in the video rental business for five years. The following is...

    Four Star Video has been in the video rental business for five years. The following is a list of accounts for Four Star Video at May 31, 2017. It reflects the recurring transactions for the month of May but does not reflect any month-end adjustments. 1. For each of the items below, identify and analyze the necessary adjustment on May 31, 2017. a. Four Star rents a store in a shopping mall and prepays the annual rent of $7,200 on...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT