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:

  1. Viewers age
  2. Number of viewers
  3. Type of TV being used
  4. Actor the user likes, select one from a list

Validation requirements:

  1. Age - greater than 5 and less than 100.
  2. Number of viewers 1 to 10
  3. Types of TV Projector, Large screen panel, tube technology
  4. Actors John Wayne, Snooki, Ted Danson, Diane Sawyer, Mel Gibson

Rules:

  1. If the user is less than 13, we should recommend cartoons. Do not recommend a different TV if more than 5 viewers.
  2. 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
  3. 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
  4. For actor selections make the following recommendations:
    1. John Wayne westerns
    2. Snooki reality TV
    3. Ted Danson crime drama
    4. Diane Sawyer news
    5. Mel Gibson revolutionary movies

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!