hey guys help me with this problem please
Problem DateChecker
Write a use case diagram and a C# console program called DateCheck that determines whether a calendar date is valid. For example, the date 30-02-2006 (in the form DD-MM-YYYY) is not correct because there will only be 28 days in February, 2006. Your program will accept a day and month and a year from the user and report to the user whether that date is valid.
Assistance:
• A year is a leap year if:
o the year is divisible by 400, OR…
o the year is divisible by 4 AND the year is NOT divisible by 100
Tips:
• The trick to solving this problem is to break the problem into pieces and solve each piece, one at a time. For example, you could add the following features to your program one at a time and test each one before adding the next one.
o Display a title using an Intro() method
o Obtain a single date from the user using an InputDate() method
o Verify the year only by adding a ValidYear() method and display message like ”That date is okay!” or “That date does NOT exist” for the user.
o Add month verification using ValidMonth().
o Add day of month verification using ValidDayr() assuming that February ALWAYS has 28 days.
o Now modify ValidDay() to handle leap years too using the algorithm provided under “Assistance”.! Note that if you never get to this step you’ll only lose 2 marks on the project!
Your program must be modular making use of methods in the following way:
• A method called Intro() that has NO return value and merely displays the title.
• A method called InputDate() that is called from your Main method and that will obtain and return the day, month and year entered by the user
• A method called ValidYear() that returns a value that indicates whether the year is valid. For this program assume that any 4-digit year is acceptable (1000 to 9999 inclusive) and all other values are not.
• A method called ValidMonth() that returns a value that indicates whether the month is valid. Of course a valid month can be any integer in the range of 1 to 12 inclusive.
• A method called ValidDay() that returns a value that indicates whether the day is valid. The day must be ≥ 1 and ≤the maximum day for that month. Note that the months January (01), March (03), May (05), July (07), August (08), October (10) and December (12) each have 31 days. April (04), June (06), September (09) and November (11) each have 30 days. February (02) usually has 28 days except in leap years when it has 29 days. For full marks this method should use a ‘switch’ statement!
• You must incorporate at least one method (it could be one of the above) that passes its parameters by reference!
**** Plz of the experts in here to help me with sucha probelm, i no oit might be something big to do, but plz do it for me, and i'll aporeciable :) , and thx alot guys***
