Question: Write a C program that finds the minimum and maximum elements in an integer array with 10 elements. Use a pointer to read in and

Write a C program that finds the minimum and maximum elements in an integer array with 10 elements. Use a pointer to read in and print the elements of the array and to find the minimum and maximum elements in the array. Print the value of the minimum element, the value of the maximum element, the indexes of the minimum and maximum elements, and their addresses in memory. Example Output Enter 10 elements: 7.5 8 9 3 44 5 0 7 5 You Entered: 75 89 344 5 0 7 5 The min is o, found in the index 7, in the address 0061FEC8 The max is 44, found in the index 5, in the address 0061FECO Rubrics 4 point(s): Using pointers. 2 point(s): Using scanf(). 2 point(s): Correct output. 2 point(s): No syntax errors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
