Question: Weekday or WeekendWrite a program using a switch statement to show whether day of the week is a weekday or weekend. The day of the

Weekday or WeekendWrite a program using a switch statement to show whether day of the week is a weekday or weekend. The day of the week is read in from the user as string: Monday through Friday are assumed to be weekdays and Saturday and Sunday are weekend days. Assume the day of the week will be lowercase.Sample output, The users input is shown in bold:Enter a day of the week (e.g. monday, tuesday, etc): wednesday [Enter]wednesday is a weekday.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!