Question: n C+ a) Create a double array of size 46. Fill the array with any different numbers. b) Write a do-while loop that outputs the
n C+
a) Create a double array of size 46. Fill the array with any different numbers.
b) Write a do-while loop that outputs the numbers in this array in normal order.
c) Write a function that determines the average and the first number for a given double array and returns both to the main program. Call the function for the array from Exercise. 2a). Output the result in the main program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
