Computer Science, asked by arundevadig0, 11 months ago

The following if-block inside a function is intended to check whether n is a leap year. The expression in the blank is _________.
if(n%100==0) {
if(_____) {
printf("%d is a leap year.\n",n);
return 0;
}
}
if(n%4==0)
{
printf("%d is a leap year.\n",n);
return 0;
}
a)n==4 b)n%400!=0
c)n>0
d)n%400==0

Answers

Answered by T70StOrM
1

d)n%400==0

Hope it's helps

Similar questions