Eljárás: INDEX := 1 Ciklus I = 2-től N-ig Ha A(INDEX) < A(I) akkor INDEX := I Ciklus vége Eljárás vége.