Question: Write a Java program that makes a simple menu with a loop using a switch structure. (Not an if statement). The menu will handle five
Write a Java program that makes a simple menu with a loop using a switch structure. (Not an if statement). The menu will handle five cases and a default. You should have an integer variable called weekday, which the user will input. If choice is a one, it should print out: "Today is Monday." If the choice is two, it should print out "Today is Tuesday." and so on up to five for Friday. If any other value is entered print out Invalid input and exit the program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
