Question: In Java Using Netbeans Write a program that will take in a number from the keyboard the corresponds to a month of the year. Use
In Java Using Netbeans
Write a program that will take in a number from the keyboard the corresponds to a month of the year. Use a switch statement to determine the name of the month and output it to the console. For instance, if the input was 8 the output would be August You should also have a default statement that will report when slen Switch Statement-Month of Year slenn slen Glenn len there is invalid input. For example, any value that is not between 1 and 12 len Slenn lenn Stevenson, MSJ lenn Stevenson, MsJc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
