#include <iostream>
using namespace std ;
int main ( )
{
int year ;
cout <<" Enter the year ";
cin >> year ;
if ( year % 4 == 0 )
{
cout <<" It is a leap Year ";
}
else
{
cout <<" It is not a leap yaer ";
}
return 0 ;
}
No comments:
Post a Comment
Must drop your comments about post.