Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

create a flowchart using the following information: The Department wants to simulate a simple movie ticket booking system. Your task is to create a program

create a flowchart 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" .
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

analyze aesthetic enhancing design rules.

Answered: 1 week ago