Bhuvan InfoTech Android App

Download our Android App and browse Technical News, Projects, Computer Tricks more easily with lots of Interesting Features.

Tuesday, June 14, 2016

Find a year is leap or not | C program

#include<stdio.h>
int main()
{
    int y;
    printf("Type a year: ");
    scanf("%d",&y);
    if(y%4==0)
        printf("It is Leap Year");
    else
        printf("It is Not a Leap Year");
   return 0;
}
Bhuvan Arora

No comments:

Amazing Deal !