Program to check whether a year is leap year or not in C
Program #include <stdio.h> int main() { int year; printf(“************************************************************”); printf(“\n************************************************************”); printf(“\n** WAP to check whether a year is leap year or not in C **”); printf(“\n** Created by Sheetal Garg **”); printf(“\n** Assistant Professor **”); printf(“\n** Phone No:9467863365 **”); printf(“\n************************************************************”); printf(“\n************************************************************”); printf(“\nenter the year\n”); scanf(“%d”, &year); if (year % 100 == 0) { if (year …
Program to check whether a year is leap year or not in C Read More »