//this is a program to find the whether the entered year is a leap year or not
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int year;
cout<<"\n\nEnter the year:";
cin>>year;
if(year%4==0)
cout<<"\n\nThe entered year is a leap year.";
else
cout<<"\n\nThe entered year is not a leap year.";
getch();
}
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int year;
cout<<"\n\nEnter the year:";
cin>>year;
if(year%4==0)
cout<<"\n\nThe entered year is a leap year.";
else
cout<<"\n\nThe entered year is not a leap year.";
getch();
}