Easy!
Write a C program to check leap year.
Answers
Answered by
87
How to find leap year using C programming?
- #include<stdio. h>
- #include<conio. h>
- void main() {
- int year;
- printf("Enter a year: ");
- scanf("%d", &year);
- if(((year%4==0) && ((year%400==0) || (year%100!== 0))
- {
Answered by
0
Answer:
How to find leap year using C programming?
#include<stdio. h>
#include<conio. h>
void main() {
int year;
printf("Enter a year: ");
scanf("%d", &year);
if(((year%4==0) && ((year%400==0) || (year%100!== 0))
{
Similar questions