Question: Write a Select Case statement using the fewest Case statements possible to display the number of days in each month. The user enters the number

Write a Select Case statement using the fewest Case statements possible to display the number of days in each month. The user enters the number of the month, such as 8 , which is converted to an integer and assigned to the intMonth variable. The Select Case statement should display a message box that states the number of days in the month, such as " 31 Days."

Step by Step Solution

3.50 Rating (150 Votes )

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 Programming Microsoft Visual Basic Questions!