Question: Create a Java program that allows a user to determine what type of TV programming they would like to watch. User input that will be
Create a Java program that allows a user to determine what type of TV programming they would like to watch. User input that will be required:
- Viewers age
- Number of viewers
- Type of TV being used
- Actor the user likes, select one from a list
Validation requirements:
- Age - greater than 5 and less than 100.
- Number of viewers 1 to 10
- Types of TV Projector, Large screen panel, tube technology
- Actors John Wayne, Snooki, Ted Danson, Diane Sawyer, Mel Gibson
Rules:
- If the user is less than 13, we should recommend cartoons. Do not recommend a different TV if more than 5 viewers.
- If the user is using tube technology as their TV, recommend they buy a new TV and do not recommend any type of TV programming
- If the number of viewers is greater than 5 and the user is using a panel TV, ask the size of the panel TV and then recommend based on actor selected
- For actor selections make the following recommendations:
- John Wayne westerns
- Snooki reality TV
- Ted Danson crime drama
- Diane Sawyer news
- Mel Gibson revolutionary movies
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
