Question: The code is supposed to be written on mars. 1- You are going to write a MIPS program that does the following (there is C#

The code is supposed to be written on mars.

The code is supposed to be written on mars. 1- You are

1- You are going to write a MIPS program that does the following (there is C# sample code below to explain the logic) (10 points): a. Create an array of 23 integers, you can put whatever you want in it, but they shouldn't be sorted. Create procedures to find the largest, and find the smallest. Create another procedure called range, which is the difference between largest and smallest (range should call findLargest and findSmallest). Finally create a procedure that finds the average of all the numbers in your array. b. Redo Part A but this time, with floating point numbers. c. Convert your find largest procedure to be recursive (https://www.geeksforgeeks.org/recursive-programs-to-find-minimum-and- maximum-elements-of-array/ has an example of this in several higher level languages). A recursive procedure is a procedure that calls itself until an objective is complete

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!