Question: This is the MARS Simulator it has to run on Your program will ask the user the edge length of the base of right triangle.


This is the MARS Simulator it has to run on

Your program will ask the user the edge length of the base of right triangle. Based on the length, MIPS program will print a triangle with the stars. For instance, if five is given by the user as an input, the program will print stars starting with one star up to five stars to form the triangle. If user enter 0, it exists from the program. .The example execution and the shape of the triangle is given below. Your program will ask the user the edge length of the base of right triangle. Based on the length, MIPS program will print a triangle with the stars. For instance, if five is given by the user as an input, the program will print stars starting with one star up to five stars to form the triangle. If user enter 0, it exists from the program. .The example execution and the shape of the triangle is given below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
