Question: Initialize an array of n elements and print the array elements in reverse order. Then find the largest element, smallest element and average value of
Initialize an array of n elements and print the array elements in reverse order. Then find the largest element, smallest element and average value of the elements.
Sample Input:
Sample Output:
Reverse order:
Largest element:
Smallest element:
Average value of the elements:
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
