1D & 2D Array Operations

Active — user can report

คำแนะนำของผู้เขียน

Key Exam Reference (1-Based Indexing)
In Cambridge IGCSE Pseudocode (0478), array indices strictly start at 1 unless explicitly
declared otherwise.
• 1D Array Declaration:
DECLARE StudentMarks : ARRAY[1:5] OF INTEGER
• 2D Array Declaration:
DECLARE CityTemps : ARRAY[1:3, 1:4] OF REAL (3 Rows, 4 Columns)