Question: Instructions CheckMonth2.cs Write a program named 1 using System; 2 using static System. Console; CheckMonth2 that prompts a user 3 class CheckMonth 2 to enter

 Instructions CheckMonth2.cs Write a program named 1 using System; 2 using

Instructions CheckMonth2.cs Write a program named 1 using System; 2 using static System. Console; CheckMonth2 that prompts a user 3 class CheckMonth 2 to enter a birth month and day. Display an error message that says Invalid date if the month is invalid (not 1 through 12) or the day is invalid for the month (for example, not between 1 and 31 for January or between 1 and 29 for February). If the month and day are valid, display them with a message. For example, if the month entered is 2 , and the day entered is 17, the output should be 2/17 is a valid birthday. Grading

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!