Question: [C#] I need to ask user for today's date and for their birthday, first by month and then by day. I then need to print

[C#] I need to ask user for today's date and for their birthday, first by month and then by day. I then need to print the number of days in the month the user was born, and the number of days from today to the user's birthday. If the user's birthday is today, they will get a Happy Birthday message.

Here is some sample output:

Console.WriteLine("What is today's month?")

User Input: 11

Console.WriteLine("What is today's day?")

User Input: 4

Console.WriteLine("What is your birthday month?")

User Input: 9

Console.WriteLine("What is your birthday day?")

User Input: 9

There are 30 days in month #9

Number of Days until birthday 9/9: 309

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!