Question: MIPS Program problems Write three MIPS assembly programs to solve the three problems given below. (1) Write a program that takes two inputs -(i) the

MIPS Program problems
 MIPS Program problems Write three MIPS assembly programs to solve the

Write three MIPS assembly programs to solve the three problems given below. (1) Write a program that takes two inputs -(i) the year when a person was born and (ii) the current year. Use appropriate prompts for the user when taking these two inputs. The program should then output the approximate age of the person in years given by the birth year subtracted from the current year. (2) Write a program that takes the height of a person as input. The user prompt should say that the input must be in the unit of feet rounded off to the nearest integer. The program should then output the height of the person in inches. Information given: one foot is equal to twelve inches. (3) Write a program that takes the weight of a person as input. The user prompt should say that the input must be in the unit of pounds rounded off to the nearest integer. The program should then output the weight of the person in ounces. Information given: one pound is equal to sixteen ounces

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!