Question: Problem 4. (50pts) Write a program that helps the Five Star Retro Video to calculate the total charge. Five Star Retro Video rents VHS tapes

 Problem 4. (50pts) Write a program that helps the Five Star

Problem 4. (50pts) Write a program that helps the Five Star Retro Video to calculate the total charge. Five Star Retro Video rents VHS tapes and DVDs to the same connoisseurs who like to buy LP record albums. The store rents new videos 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 total nights and output the total cost with only two decimal points and with commas where appropriate. ---Problem 4---- Please enter how many new videos do you want to rent? 3 Please enter how many old videos do you want to rent? 2 How many nights do you want to keep them? 3 The total cost is $39.00 There should be no space between the $ sign and the value. Another output: ----Problem 4--- Please enter how many new videos do you want to rent? 234 Please enter how many old videos do you want to rent? 500 How many nights do you want to keep them? 2 The total cost is $3,404.00

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!