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

27,531 total views, 4 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.

1,991 Thoughts to “C++ program to find the leap year or not”

  1. hello!,I like your writing so a lot! share we keep in touch extra approximately your article on AOL? I need an expert in this space to resolve my problem. May be that’s you! Taking a look ahead to see you. |

  2. Nice answer back in return of this query with real arguments and telling the whole thing about that.

Leave a Comment