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

38,439 total views, 46 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.

3,227 Thoughts to “C++ program to find the leap year or not”

  1. I have been finding many different opinions on this and find this post to be one of the more enlightening on the subject. Hope we can increase the quality of responses than what I have seen as many do not seem to be very relevant.
    Roberto Cavalli on sale http://www.robertocavallisale.online

  2. 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. |

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

Leave a Comment