Check Leap Year

in Hindi - Check Leap Year



not yet

Source Code :

RUN#include <iostream>
using namespace std;

int main(){

int year;

cout<<"Enter any year : ";
cin>>year;

if( ((year%4==0)&&(year%100!=0))||(year%400==0) ){
cout<<year<<" is a leap year";
}
else{
cout<<year<<" is not a leap year";
}
return 0;
}