C++ Program to Check Leap Year
Here is C++ program to check whether a year is a leap year or not. A leap year consists of 366 days instead of 365 days. In a leap year, February month consists of 29 days. #include<iostream> using namespace std; int main() { int year; cout<<“Enter Year(ex:1900):”; cin>>year; if(year%100==0) { if(year%400==0) cout<<“\nLeap Year”; } else …