Question: Write a MIPS Assembly Language Program to calculate the area of geometric shapes. Read two sides (base and height) of a shape. Display a menu

 Write a MIPS Assembly Language Program to calculate the area of

Write a MIPS Assembly Language Program to calculate the area of geometric shapes. Read two sides (base and height) of a shape. Display a menu given below: 1. Area of Square 2. Area of Rectangle 3. Area of Triangle Read the choice (1 or 2 or 3) from the user. Based on the choice calculate and print the area. If the user enters invalid choice print an error message. Area of Square = base? or height? Area of Rectangle = base * height Area of Triangle = (base*height)/2

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!