Question: Assume userlnput is an int variable containing a number between O and 6 to represent a day of the week between Sunday and Saturday, respectively.

Assume userlnput is an int variable containing a number between O and 6 to represent a day of the week between Sunday and Saturday, respectively. Write a switch statement that will print out "work day" for any day between Monday and Friday, "Weekend" for Saturday and Sunday, and "Invalid day of the week" for any other value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
