Question: Write a MIPS code to: 1- Get two integer numbers from the console as Length and Width 2- Calculate the Area of the rectangle (A)
Write a MIPS code to:
1- Get two integer numbers from the console as Length and Width
2- Calculate the Area of the rectangle (A)
3- Multiply the Area by 10, e.g. M = A*10;
4- Subtract the result after multiplication by 20, e.g., S = M-20.
5- Show the results of A, M, and S, to the console.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
