The least and
last elements of a file.
In a file With from N elements to
find an element having the least value, and to change its places with last
element. Value N to set by means of input and elements of a
file are entered from the keyboard. To deduce the minimal
element. N<100
Entrance data
File With from N elements.
Target data
File from N elements and the minimal element.
Entrance data
N=3
C [1] =-49
C [2 =54
C [3] =-19
Target data
min =-49
C [1] =-19
C [2 =54
C [3] =-49
The author: Chupchicova Yulia