Question: Write a MIPS program similar to the one above that reads 10 number inputs (integers only), store them in consecutive memory location, and display to

Write a MIPS program similar to the one above that reads 10 number inputs (integers only), store them in consecutive memory location, and display to the console their sum, mean, maximum, minimum, the number of zeros, positive, and negative numbers. For instance, if your input is: -2, -3, -4, -1, 0, 1, 2, 3, 4, 5; the output should be:

Sum of ten numbers: 5

Maximum: 5

Minimum: -4

Mean: 0.5

Number of Negative numbers: 4

Number of Zeros: 1

Number of Positive Numbers: 5

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!