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

MIPS
MIPS 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 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

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!