Question: Matlab please 3) [5 pts] Write a program that prompts the user for the day (integer between 1 and 7 , inclusive) using the input
3) [5 pts] Write a program that prompts the user for the day (integer between 1 and 7 , inclusive) using the input command and prints the corresponding day (c.g., 1 for Sunday, 2 for Monday etc.). Use switch/case statement. Send an error message if the user enters something other than 1-7. Show the output for only 1 case
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
