Question: Write a function namedi difference) that accopis an Integer one-dimensional array and its size, returns the difference between the largest element and the smallest element
Write a function namedi difference) that accopis an Integer one-dimensional array and its size, returns the difference between the largest element and the smallest element e.g the array is [1.7.13.22.15.64.3.2.9.21) the output is:21 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
