Question: write a Java program to implement the problem with the following requirements. You want to find out which book/movie/show of the choices above would be
write a Java program to implement the problem with the following requirements. You want to find out which book/movie/show of the choices above would be the best liked by the current user. You will start by asking them if they prefer fantasy genre or the genre of science fiction. In the list above there are eight top-level choices of specific books/movies/shows. The first three are science fiction, the last three are fantasy, and the two in the middle could fall in either category or both. After you get the users response about fantasy or science fiction, then ask them which top-level book/movie/show they prefer from that genre. If the top-level choice has subchoices, then ask the user to specify with subchoice they prefer. Print their preference of genre, the top-level choice they made, and if appropriate, the sub-level.
1. Use an if-else to handle the fantasy/science fiction choice and save the users choice
in a boolean variable
2. Within that if-else, use nested if-elses to ask about the top-level choices and save
the users choice
3. If the top-level choice has subchoices, give the user a menu of choices (i.e. a numbered
list in the output window not a separate menu)and take their choice and use it to
select the final subchoice with a switch statement
4. Print their preference of genre,
the top-level choice they made, and
if appropriate, the sub-level choice
in a complete sentence or in a tabular form with labels.
Firefly
Star Trek
The Original Series
The Animated Series
The Next Generation
Deep Space Nine
Voyager
Enterprise
Discovery
Back To The Future
Dr. Who
Star Wars
Star Wars: A New Hope (Episode IV)
Empire Strikes Back (Episode V)
Return of the Jedi (Episode VI)
Episode I The Phantom Menace
Episode II Attack of the Clones
Episode III Revenge of the Sith
Episode VII The Force Awakens
Episode VIII The Last Jedi
Rogue One
Harry Potter
The Sorcerers Stone (also called The Philosophers Stone)
The Chamber of Secrets
The Prisoner of Azkaban
The Goblet of Fire
The Order of the Phoenix
The Half-Blood Prince
The Deathly Hallows
The Princess Bride
The Lord Of The Rings
The Hobbit
The Lord Of The Rings
The Fellowship of the Ring
The Two Towers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
