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

62,410 total views, 120 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.

4,971 Thoughts to “C++ program to find the leap year or not”

  1. Hello to all, how is all, I think every one is getting more from this web
    page, and your views are pleasant in favor of new people.

  2. Keep up the fantastic piece of work, I read few
    blog posts on this website and I believe that your site is really appealing and has
    lots of fantastic information.

Leave a Reply to NBA 2K18 Pro Am Cancel reply