Question: Write a function named(difference), that accepts an integer one-dimensional array and its size, returns the differencell) between the largest element and the smallest element. e.g.
Write a function named(difference), that accepts an integer one-dimensional array and its size, returns the differencell) between the largest element and the smallest element. e.g. the array is [1.7.13.22.15,6,4.3.2.9.21] the output is:21 7 " 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
