Question: MIPS Write a program that takes a year from user and print whether that year is a leap year or not the year is leap
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 Znter the yeazt 2016 fear in leap year - Irograt in rinisbed runhing - Reset; zeset completed. Lnter the yeart 1991. leat it hos deap yeat - ptogras in tantebed twathg w
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
