Question: Challenge: It's the weekend! Make an app tells you whether to stay home or go to school based on what day of the week it

 Challenge: It's the weekend! Make an app tells you whether to

stay home or go to school based on what day of the

week it is. In this challenge you will What should I do

today? Select the day of the week: Add your own dropdown menu

in design mode Add an event handler for the dropdown Wednesdayscla Write

Challenge: It's the weekend! Make an app tells you whether to stay home or go to school based on what day of the week it is. In this challenge you will What should I do today? Select the day of the week: Add your own dropdown menu in design mode Add an event handler for the dropdown Wednesdayscla Write an if-statement that's slightly tricky It's a weekday! Go. o Otherwise (the day is a weekday) display a message that says "It's a weekday. Go to school". Your message should be displayed by setting the text of the msg_label provided in design mode Testing: Once you have something functional, make sure you test every day of the week to verify the output is correct The if-statement here is trickier than before HINT:[click to expand] The trick here is that, unless you want to check all seven days with individual if-statements, you need to nest one if-statement inside another. The reason is that in order to know it's a weekday you need to know both that it's NOT Sunday and that it's not Saturday either. That's two boolean conditions. Here is the skeleton of an if-else structure that will work. Notice that the the if-statement that checks for Sunday is inside the else clause of the statement that checks for Saturday IF it's saturday ELSE IF it's sunday ELSE

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!