Question: JAVA Display names of 12 months based on user input of 1 to 12 by using switch....case (while) Max/min: To find the average and range
JAVA
Display names of 12 months based on user input of 1 to 12 by using switch....case
(while) Max/min: To find the average and range of user input positive numbers until user enters a negative number to stop the program.
clue: assume the first input number as smallest, or assign a very large number to smallest variable by using min = Integer.MAX_VALUE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
