Question
C++ moviebox I need the program to read like this... Enter the movie number(1-7):1 Enter your money: 10 You purchased movie 1. Your change is
C++ moviebox
I need the program to read like this... Enter the movie number(1-7):1 Enter your money: 10 You purchased movie 1. Your change is $5.
then a summary of the purchase.
the cost that the use enters can not be less than 0 or greater than 15. the movies in the array can just be 7 movies each listed with a cost. It would be helpful to have a menu with the movies 1-7 listed with each cost. also invalid entries such as cost being more than $15 or when user enters cost and instead of entering numbers they enter letters, it should read invalid entry. it should also ask if they'd like to make another purchase.
So it would have an array movies{7} (2,1.75,3,2.50,1.50,4,2.50);
That would be th cost of each movie
movie[1]=$2.00
movie[2]=$1.75
and so on
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started