Question: Write a program that takes a year from user and print whether that year is a leap year or not the year is leap if

 Write a program that takes a year from user and print

Write a program that takes a year from user and print whether that year is a leap year or not the year is leap if the year must be divisible by 4 . OR If the year is divisible by 100 , it must also be divisible by 400 . \# Input: Requests year print Enter the year \# read the year \#if(year %4==0) OR(year %100==0 andyear %400==0) Print year is leap Else Print year is not leap Entez the yeazt 2016 rear in leap year - program in tinisbed tunhing .. Reset. reset completed. Enter the jeart 1991 Lear in not leap year - progran in tiniabed tunting

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!