Computer Science, asked by muneer786ahmedpbcekw, 1 year ago

write a program to check if a given year is leap year or not???

Answers

Answered by raishubhanshu2p4rhnv
1

#include<stdio.h>

#include<conio.h>

void main()

{

int yyyy;

printf("Enter any year:::: Which you want to check??");

scanf("%d",&yyyy);

if(yyyy%4==0)

printf("Year=%d is a leap year",yyyy);

else

printf("Year=%d is not a leap Year",yyyy);

getch();

}

Similar questions