Question: year = int(input( Enter year to be checked: )) a = 4 b = 100 c = 400 if year%a == 0 and year%b ==
year = int(input("Enter year to be checked:")) a = 4 b = 100 c = 400 if year%a == 0 and year%b == 0: print("Is not a leap year.") elif year%b == 0 and year%c == 0: print("Is not a leap year.") elif year%a == 0 and year%b != 0: print("Is a leap year.") elif year%c == 0 and year%b != 0: print("Is a leap year.") else: print("Is not a leap year.")
Translate this python code to MIPS.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
