Validating a leap year


Stories from yesteryear like this one remind me of the real-world dangers of software glitches.

Considering the recent widespread adoption of IOT and its intersection with cloud computing, we should all be on high alert.

These are just the big stories that made news headlines.

I'm sure thousands more occurred with varying degrees of impact and noticeability.


This resulted in millions of dollars in damage to equipment as temperatures of molten metal went unregulated.

“31/6/2010”, “31/06/2010” -June has 30 days only 9.

“31/4/20100”, “31/04/2010” – April has 30 days only 8.

Note: This is a console application so we cannot have visual controls for this tutorial. For more inquiries and need programmer for your thesis systems in any kind of programming languages, just contact my number below.

Initialize variable yeear as Integer and make it input as your inputted year. Bermoy IT Instructor/System Developer/Android Developer/Freelance Programmer If you have some queries, feel free to contact the number or e-mail below.Also for February, it still shows 29th, 30th, 31st. Also the other problem would arise is how to handle the leap year? Please help There are a bunch of other ways too, to determine the number of days in a month; you can put together a small method that will calculate this for you. NET that you could easily convert to C#: Determine Number of days in any month given a date: Code.asp? NET to C# In your case if they select 'April' you could just pass in 4/1/09 (or whatever year applicable), and the number of days in the month would be returned.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>