Computer Science, asked by MrTSR, 3 months ago

Easy!
Write a C program to check leap year.

Answers

Answered by Anonymous
87

How to find leap year using C programming?

  1. #include<stdio. h>
  2. #include<conio. h>
  3. void main() {
  4. int year;
  5. printf("Enter a year: ");
  6. scanf("%d", &year);
  7. if(((year%4==0) && ((year%400==0) || (year%100!== 0))
  8. {

Answered by Deepgaming5230
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
Math, 3 months ago