Question: matlab 3) [5 pts] Write a program that prompts the user for the day (integer between 1 and 7 , inclusive) using the input command
![matlab 3) [5 pts] Write a program that prompts the user](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f4536134030_16066f45360bb737.jpg)
matlab
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 (e.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
