Question: Using Java. As in homework, you should start by reading in an input asking the user which problem they wish to run. Complete each problem
Using Java. As in homework, you should start by reading in an input asking the user which problem they wish to run. Complete each problem in its own if block. In addition to the value noted in each question, you will also be graded out of communication marks for an appropriate program header and suitable variable naming. Problem : The Oshawa Airport has received a report of another
incident an alien ship has illegally entered McLaughlin airspace.
A person of known integrity, who goes by the alias 'Knitty Shun'
KS for short witnessed the spacecraft landing and has come
forward to describe the alien's appearance. It's your role to
determine which alien has arrived.
There are only alien species that we are aware of as described
below:
DiscMartian, who has at least antenna and at most eyes;
UltimateSaturnian, who has at most antenna and at least
eyes;
FrisbeeMercurian, who has at most antenna and at most
eyes.
Write a program that asks KS for the number of antennae and the
number of eyes seen on the alien. Your output should contain the
list of aliens who match the possible description as given by KS
For example, if the user enters antenna and eyes, your
program should output UltimateSaturnian and
FrisbeeMercurian. marks APP
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
