Thread
:
Check for a leap year
View Single Post
friendsforniraj
Go4Expert Member
2Dec2006,18:28
i want to know one thing that if yr is divisible by 400 than it will definately be divisible by 100
and if 1896 is leap yr than 1900 will definately be leap yr no checking reqd
so from ma pt. of view hecking divisibilty by 4 is enough