You are going to write a MIPS program that does the following (there is C++ sample code below to explain the logic): • Create an array of 23 INTEGERS, you can put whatever you want in it, but they...


You are going to write a MIPS program that does the following (there is C++ sample code below to explain the logic): • Create an array of 23 INTEGERS, you can put whatever you want in it, but they shouldn’t be sorted. Without using recursion: • Create a procedure to find the largest called findLargest • Create a procedure to find the smallest called findSmallest. • Create procedure called range, which is the difference between largest and smallest (range should call findLargest and findSmallest) • Create a recursive procedure to find the largest (call it findLargestRecursive)



Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here