Example of Switch Statement

In this example the current month is read from your computer's system clock. Based on the month and by using a switch statement, it will calculate the number of days in the month

Valid XHTML 1.0!