/*C++ program to find the leap year or not*/

#include<iostream.h>
#include<conio.h>
void main()
{
int year;
clrscr();
cout<<“enter the year:”;
cin>>year;
if(year%4==0)
{
cout<<“given year is a leap year”;
}
else
{
cout<<“given year is not a leap year”;
}
getch();
}

84,007 total views, 90 views today

Get Free Email Updates..!
Join us for FREE to get instant email updates..! GobsInfo- Everything Unlimited
We hate spam. Your email address will not be sold or shared with anyone else.

6,565 Thoughts to “C++ program to find the leap year or not”

  1. Hey very nice website!! Man .. Beautiful .. Amazing ..

    I will bookmark your website and take the feeds also?
    I’m glad to find numerous useful info here within the submit, we’d like work out extra techniques in this regard, thanks for sharing.
    . . . . .

Leave a Comment