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 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
Get step-by-step solutions from verified subject matter experts
