Question: Create a web page called Days.html that uses prompt() to ask the user for a month number. It should then use two separate decision structures
Create a web page called Days.html that uses prompt() to ask the user for a month number. It should then use two separate decision structures (one with switch, one with if/if-else) to output the corresponding month name and the number of days in that month. For example, entering "5" should identify the month as May and indicate that it has 31 days. Notes:
You do not need to consider leap years
For full points, you must use both if (or if-else) statements AND a switch statement to complete the task. Javascript only please!
Here's what I have so far:
Days
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
