Question: Write a MIPS program that Creates an array of maximum size of 20 elements that asks the user first the number of elements and then
Write a MIPS program that Creates an array of maximum size of 20 elements that asks the user first the number of elements and then enters the elements one by one. Displays array contents Calculates the average of the array contents. For each array element, display the difference from the average. (for example if values are 1, 2, 3; average is 2 and it displays -1, 0, 1).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
