Question: Write a program to read numbers in an array from your keyboard: Display it in reverse. Find the maximum and minimum element in this
Write a program to read numbers in an array from your keyboard: Display it in reverse. Find the maximum and minimum element in this array. The expected output: . Input the size of the array to store the number: 4 Input 4 number of elements in the array: element - 0:4 element - 1: 2 element - 2: 7 element - 3: 6 The values store into the array are: 4 2 76 The values store into the array in reverse are: 6 7 2 4 Maximum element is: 7 Minimum element is: 2 Hint: You can assign values to array elements from your keyboard by: for(int i=0; i
Step by Step Solution
3.37 Rating (156 Votes )
There are 3 Steps involved in it
QUESTION Write a program to read numbers in an array from your keyboard Display it in reverse Find t... View full answer
Get step-by-step solutions from verified subject matter experts
