reate a program that will help a movie go know which movie ratings will be appropriate for them or their family. Allow the user to enter age and then based on that age suggest movie ratings that are most appropriate for them.G rated films are appropriate for everyone.PG should be suggested for anyone above age 5.PG-13 should be suggested for anyone at least 13 years old.R should be suggested for anyone at least 17 years of age.Inform anyone under 17 that they will not be able to even purchase a ticket for a rated R movie without an accompanying adult.Make sure to check that the age entered by the user is not less than 0.If the age entered is below 0 give them an error message.  The solution only apple java program

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Create a program that will help a movie go know which movie ratings will be appropriate for them or their family. Allow the user to enter age and then based on that age suggest movie ratings that are most appropriate for them.G rated films are appropriate for everyone.PG should be suggested for anyone above age 5.PG-13 should be suggested for anyone at least 13 years old.R should be suggested for anyone at least 17 years of age.Inform anyone under 17 that they will not be able to even purchase a ticket for a rated R movie without an accompanying adult.Make sure to check that the age entered by the user is not less than 0.If the age entered is below 0 give them an error message. 

The solution only apple java programing

Expert Solution
Introduction

The given problem is related to programming which is to be solved in Java.

 

The program takes the age of the user and displays the rating that is appropriate for them to watch.

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education