Write a program using C in order to find the second minimum and second maximum value from a set of values of an array. please can you solve it anyone?

Write a program using C in order to find the second minimum and second maximum value from a set of values of an array. please can you solve it anyone?

maximum value of array
yes , if you can please solve it
yes
I want to learning program