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 5 communication marks for an appropriate program header and suitable variable naming. Problem 2: 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 3 alien species that we are aware of as described
below:
DiscMartian, who has at least 3 antenna and at most 4 eyes;
UltimateSaturnian, who has at most 6 antenna and at least 2
eyes;
FrisbeeMercurian, who has at most 2 antenna and at most 3
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 2 antenna and 3 eyes, your
program should output UltimateSaturnian and
FrisbeeMercurian. (8 marks APP)
Using Java. As in homework, you should start by

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 Programming Questions!