Print Friendly and PDF

#include<iostream>

using namespace std;

int main ( )

{

int years;

cout<<"enter years"<<endl;

cin>>years;

if(years % 4==0)

cout<<"leap years is"<<endl;
else
cout<<"not a leap years"<<endl;

}
zubairsaif

Zubair saif

A passionate writer who loves to write on new technology and programming

Post A Comment:

0 comments: