leap year test should only apply to february...
if(month == 2)
{
if(leap year)
print 29 days;
else
print 28 days;
}
Type: Posts; User: vart
leap year test should only apply to february...
if(month == 2)
{
if(leap year)
print 29 days;
else
print 28 days;
}