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.
so arrays means using int x? I don't know how you to make the program pick the smallest and the largest from a set of 20 integers. This teach yourself class is very difficult for me.