Monday, 15 June 2020

SOLVED: LEAP YEAR IN C

TO FIND LEAP YEAR IN C  PROGRAMMING LANGUAGE THEN WRITE THE FOLLOWING CODINGS:

#include<stdio.h>
#include<conio.h>
void main()
{
int y;
clrscr();
printf("Enter the year\n");
scanf("%d",&y);
if(y%d==0)
{
printf("Leap year\n");
}
else
{
printf("Not an Leap year\n");
}
getch();
}

TYPE LIKE THIS:

LEAP YEAR IN C


OUT PUT WILL BE AS FOLLOWS:



No comments:

Post a Comment

C Programming

What is DBMS in brief?

A Database Management System (DBMS) is a software suite designed to efficiently manage, organize, store, manipulate, and retrieve data. It a...