The variable day will contain a number from 1 to 7. Write a…
The variable day will contain a number from 1 to 7. Write a switch statement that will print the following messages depending on the day. 1: Today is Monday 2: Today is Tuesday 3: Today is Wednesday 4: Today is Thursday 5,6,7 It’s the weekend! If the input is not in the range of 1 to 7, output “Invalid day.”