Question: (CODE C++) Write a C program segment to display the index of the smallest and the largest numbers in an array x of 20 integers.
(CODE C++)
Write a C program segment to display the index of the smallest and the largest numbers in an array x of 20 integers. Assume array x already has values assigned to each element.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
