Write a program in which the user inputs a number (1-7) and the program responds with the name of that day (Monday, Tuesday, etc). (For our purposes, Day 1 is Sunday.) Use the Switch-Case algorithm for this program. If the user enters a number other than 1-7, respond with "Invalid Day".
Stretch Goal: Use an IF/ELSE algorithm to also tell the user how many days are remaining from the inputted day until the weekend. (Tip: Add a variable to track the remaining days until Saturday, and set its value within each of the Case statements of the main algorithm.)
Write a program in which the user inputs a number (1-7) and the program responds with the name of that day (Monday, Tuesday, etc). (For our purposes, Day 1 is Sunday.) Use the Switch-Case algorithm for this program. If the user enters a number other than 1-7, respond with "Invalid Day".
Stretch Goal: Use an IF/ELSE algorithm to also tell the user how many days are remaining from the inputted day until the weekend. (Tip: Add a variable to track the remaining days until Saturday, and set its value within each of the Case statements of the main algorithm.)