Question: 1. Introduction In this lab, we are going to study how to perform decision making using MIPS programming. 2. Lab Work (a) Given an array
1. Introduction In this lab, we are going to study how to perform decision making using MIPS programming. 2. Lab Work (a) Given an array with 10 integers (-13, 82, 20, 85, -54, 25, 99, 65,-320, 121), calculate the followings in the array using for loop. average value of all elements (i.e. sum of all values /10) osum of all positive elements o sum of all negative elements Sample Output: Average value = 11 Sum of all positive elements - 497 Sum of all negative elements = -387
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
