Studying the basics of programming, the first thing (or second) future programmers get acquainted with the concept of "one-dimensional array." Pascal, like other languages, allows you to work with such a data structure. Sooner or later, the need arises for a structured storage of any quantities. Most often, elements from this set belong to the same type. For example, a study group list may consist of 25 elements, each of which is a string type variable that stores the student's last name and first name.
, . – . .
, , , .. 1, . , , , ( ).
:
1) , n - , mas – , 5 , A – mas, .. 5
2)
3)
4)
5) () , .. ( 6)
6) , S -
7) , ( , 4), k -
8) ( ), min - , k - ()
, , Var , . , , , integer – , real – . , , . , , , .