Question: Write a program that simulates the gem fusions that occur in the TV show Steven Universe. According to the show, the following fusions occurred between

Write a program that simulates the gem fusions that occur in the TV show "Steven Universe." According to the show, the following fusions occurred between the good gems and/or humans: Garnet + Pearl = Sardonyx Garnet + Amethyst = Sugilite Pearl + Amethyst = Opal Steven + Amethyst = Smoky Quartz Connie + Steven = With this information, write a program that asks the users for the names of two gems/humans and outputs the fusion that they create. If the user enters a combination other than the ones entered, report that there is "No known fusion." A scanner object for input Variables to store the two gems A nested if-else statement to output the appropriate fusion 1. Use logical operators to ensure that the correct fusion is obtained for any order 2. Use the Case method to ensure that the code recognizes the gem's name regardless of the case entered. Comments for appropriate documentation A sample of the output is shown below: Who is the first gem? Amethyst Who is the second gem? Pearl When Amethyst and Pearl fuse, they create Opal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
