Find Leap Year

Description:

Program to find Leap Year using object and class Test Case 1 Input (stdin) 2000 Expected Output It is a Leap Year! Test Case 2 Input (stdin) 2001 Expected Output It is not a Leap Year!

Program :

#include <iostream>


using namespace std;


int main()


{


  int a;


cin>>a;


  if(a%4==0)


    cout<<"It is a Leap Year!";


  else


    cout<<"It is not a Leap Year!";


 return 0;


}