Question: Question #11. Write a script that uses the menu function to prompt the user to select the current day of the week. Then use the

 Question #11. Write a script that uses the menu function to

Question #11. Write a script that uses the menu function to prompt the user to select the current day of the week. Then use the menu function to prompt the user to select their favorite day of the week. Print a message telling the user how many days it will be until their favorite day. The output must include the current day, the favorite day, and the number of days until the favorite day. Debug your programming by running it many times and testing it with different input combinations. Here are some sample runs. Command Window Today's Tuesday. Wednesday, your favorite day, will be in 1 day(s). Today's Wednesday. Saturday, your favorite day, will be in 3 day(s). Today's Wednesday. Tuesday, your favorite day, will be in 6 day(s). Today's Tuesday, Sunday, your favorite day, will be in 5 day(s). Today's Sunday, Saturday, your favorite day, will be in 6 day(s). Today's Sunday, Monday, your favorite day, will be in 1 day(s). Today's Friday, Sunday, your favorite day, will be in 2 day(s). Today's Thursday, Monday, your favorite day, will be in 4 day(s)

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!