September 13th, 2003, 03:12 PM
Code that reads a Leap Year?
How do I write a program that reads a 4 digit year and then determines whether that year is a leap year??
September 13th, 2003, 03:24 PM
I'll give you a hint...
leap years happen every 4 years
that means the year should be divisible by 4
i.e. it has no remainder
September 13th, 2003, 03:28 PM
September 13th, 2003, 03:57 PM
Thanks this really helps I am so glad I found this site!!!!
September 13th, 2003, 03:58 PM
September 15th, 2003, 10:40 AM
every 4 years, except every hunderd (so 1900 and 2100 are not leap years), except every four hundred (so 2000 and 2400 are leap years)
September 15th, 2003, 11:03 AM