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...


I could really use some help with a problem I got for coding. A screenshot showing an example would help.


Write a Java program that makes a simple menu with a loop using a switch structure. (Not an if<br>statement). The menu will handle five cases and a default. You should have an integer variable<br>called weekday, which the user will input. If choice is a one, it should print out:

Extracted text: 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.

Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here