Ad Code

NEW POST

6/recent/ticker-posts

SRM ELAB PROBLEM: Since many will have the same doubt she decides to automate the task by writing the code snippet for finding the same but she don't know the logic to write it.

Since many will have the same doubt she decides to automate the task by writing the code snippet for finding the same but she don't know the logic to write it. 


 #include <stdio.h>

int main()

{

int year;

scanf("%d",&year);

if(year%4==0)

{printf("LEAP YEAR");}

else

{printf("NOT A LEAP YEAR");}

return 0;

}

Post a Comment

0 Comments