write a C program to find whether the given year is a leap year or not
Answers
Answered by
4
Answer:
#include<studio.h>
#include<conio.h>
void main()
{
int a ;
printf("Enter the year");
scanf("%d",&a);
if ( a%4 == 0)
{
printf("This is leap year");
}
else
{
printf("this is not a leap year ");
}
}
Similar questions
Math,
6 months ago
Physics,
6 months ago
Chemistry,
1 year ago
English,
1 year ago
Accountancy,
1 year ago