#include"stdio.h"
int main(void)
{
int year;
printf("Enter a year:\n");
scanf("%d", &year);
if((year%4==0 && year%100!=0)||(year%400==0))
{
printf("This is a leap year\n");
}
else
{
printf("This is not a leap year\n");
}
return 0;
}
c, c++ , java, oracle, database design, c tutorial, c++ tutorial, java tutorial, oracle tutorial, programming, make program easy, c programming, c advance program, java advance program
All rights reserved||Using Deluxe Template By Klodian
0 comments:
Post a Comment