Computer Science, asked by SatyaSumanth8373, 1 year ago

A year is input through a keyboard.Write a program to determine whether the year is leap year or not

Answers

Answered by Rohankiratsata
1

Answer:

but In Which Language

Explanation:

Please mention the Programming Language In which U want Create program

In python:

year=int(input("Enter year to be checked:"))

if(year%4==0 and year%100!=0 or year%400==0):

print("The year is a leap year!)

else:

print("The year isn't a leap year!)

Similar questions