Eljárás: S := 0 Ciklus I = 1-től N-ig S := S + A(I) Ciklus vége Eljárás vége.