C++ Program To Find Enter Year Is Leap Year Or Not

      No Comments on C++ Program To Find Enter Year Is Leap Year Or Not
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int year;
cout<<"Enter Year";
cin>>year;
if(year%4==0)
 {
 cout<<"Year is Leap";
 }
 else
 {
 cout<<"Year is not Leap";
 }
 getch();
 }

OUTPUT:-

scanfcode

Leave a Reply

Your email address will not be published. Required fields are marked *