subject

​The activity is meant to test your understanding on how to implement decision making in
your programs using the if-else, if-else-if ladder and the switch statement.
If you do not have Java installed on your laptop, you can use an internet based/online Java
compiler to do your work. Once done, copy the source code, paste it into MS word
document which you then upload to the system. You can also save and upload screen shots
with your code. You should only email your work if you are really not able to upload it to the
system. You have enough time to complete the activity hence late work will not be
marked and excuses will not be accepted.
Create one program that will do the following:
a) Receive input of three decimal numbers from the user (use scanner class for input),
compare them and display which one is the greatest number and which one is the
smallest number.
E. g.
Input:
45, 30, 90
Output:
90 is the greatest number
30 is the smallest number (10 marks)
b) Receive an integer number between 1 and 12 (use scanner class for input), compare
it with a list of cases given representing the 12 months of the year, then display
which month of the year it is depending on the number entered by the user.
E. g. Case 1: January
Case 2: February
Case 3: March
Case 4: April …………
If the user enters 3, the system will display that the month is March

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 08:30
Based on your knowledge of a good network, describe what you think is a perfect network would be. what kind of information and resources could users share on this network. what would the network administrator do? what kind of communication would be used?
Answers: 1
question
Computers and Technology, 24.06.2019 19:50
How to unblock on chrome book? ?
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
What is a number system, and what is the total number of digits used in this system called? a number system is a system that uses different (options: a) numbers b) symbols c) codes d) digits e) alphabets) to represent different numbers. the total number of digits used in a number system is known as its (options: 1) processor 2) converter 3) radix 4) least significant digit 5) most significant digit)
Answers: 1
question
Computers and Technology, 24.06.2019 23:50
Which career involves analyzing various factors that influence the customer decision-making process? analyze various factors that influence the customer decision-making processes. reset next
Answers: 2
You know the right answer?
​The activity is meant to test your understanding on how to implement decision making in
your...
Questions
question
Mathematics, 11.07.2019 20:30
question
Mathematics, 11.07.2019 20:30