Question: Write a C/C++ program that does the following: -in C++ program declare an array of integers (size is your choice)--your program should work with any
Write a C/C++ program that does the following:
-in C++ program declare an array of integers (size is your choice)--your program should work with any array size
-call an assembly function to compute the average of all elements in the array (pass the array and the size of the array)
-call an assembly function to compute the largest (max) of all elements in the array (pass the array and the size of the array)
-call an assembly function to compute the smallest (min) of all elements in the array (pass the array and the size of the array)
-display the average, min, and max in C++ program
There should be three assembly files for the three functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
