By Thanos Stantzouris
Choose your prefered Language: greek_flag uk_flag

Write a program in C language that will insert N integers in a one-dimensional array of size N (N = known). The program will find the largest element, the position that it occupies in the array and then the next smaller item and the position it holds. In case these elements exist inside the array more than one time, all occurances must be printed out!
(Do not use the simplest sorting method known to man!)