Answered step by step
Verified Expert Solution
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 R
NC
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 :
Movie Ticket Booking
Today's Movies:
"The Rocky Horror Picture Show" Rated
"The Goonies" Rated PG
"I Am Legend" Rated PG
"Cars" Rated G
"A Clockwork Orange" Rated NC
Please select a movie by entering its number:
"A Clockwork Orange" is rated NC Please enter your age:
Sorry, you must be at least to watch "A Clockwork Orange"
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