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

88,997 total views, 14 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.

7,315 Thoughts to “C++ program to find the leap year or not”

  1. Ciekawe naklejki na cian to dobra ozdoba do kazdego domu! naklejki na cian naklejki cienne dekoruj
    New puma Shoes outlet https://puma.eklatresearch.com

Leave a Reply to Lelio Junior Cancel reply