The following ARRAY statement defines a two-dimensional array with two rows and five columns. The array contains ten variables: five temperature measures (t1 through t5) from two cities (c1 and c2): ...
(In contrast a scalar quantity has magnitude only - eg, the numbers 1, 2, 3, 4...) This arrow represents a vector. The direction is given by the arrow, while the ...
The data in an array must all be of the same data type. This way, all data is stored under one identifier. For example, an array called ‘score’ could contain all of the scores achieved by players.