Posted by: lootekukur September 29, 2006
Login in to Rate this Post:
0
?
sorry about the typo (it's been a while since i last used C hehe)
if((year%4==0&&year%!=100)|| (year%4==0&&year%100==0&&year%400==0))
return 1;
else
return 0;
either use this, or the nested loop one and see the output.
LooTe