Question: create a c + + code using the following information: The Department wants to simulate a simple movie ticket booking system. Your task is to

create a c++ code using the following information:
The Department wants to simulate a simple movie ticket booking system. Your task
is to create a program that:
Displays a list of movies available for the day with their ratings (G, PG, PG-13, R,
NC-17).
Allows the user to select a movie.
Asks the user for their age.
Checks if the user meets the age requirement for the movie's rating.
If the age requirement is met, the user proceeds to the ticket purchasing process.
If the age requirement is not met, displays an error message, and quit the
program.
Script Example (part 1):
******************** Movie Ticket Booking
Today's Movies:
"The Rocky Horror Picture Show" - Rated R
"The Goonies" - Rated PG
"I Am Legend" - Rated PG-13
"Cars" - Rated G
"A Clockwork Orange" - Rated NC-17
Please select a movie by entering its number: 5
"A Clockwork Orange" is rated NC-17. Please enter your age: 16
Sorry, you must be at least 18 to watch "A Clockwork Orange" .
 create a c++ code using the following information: The Department wants

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!