/*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();
}

83,885 total views, 160 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,562 Thoughts to “C++ program to find the leap year or not”

  1. This is a topic which is close to my heart… Thank you!
    Where are your contact details though? Minecraft free to play 2018

Leave a Reply to NBA 2K18 Pro Am Cancel reply