Question: please help. all others got it wrong. Find max in an array Given an array of a specific number of integers, write a program that
please help. all others got it wrong.
Find max in an array
Given an array of a specific number of integers, write a program that finds the largest integer and store the result in register $ Assume
$t stores the memory location of the first element of the array, and $t stores the number of integers in the array.
Ex: If $t and $t are initialized in the simulator as and and the content of the given array is:
the result is stored in $ :
Note: Use the t button under the Registers and Memory display to initialize $$ and the memory locations of the given array.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
