Skip to content · ⁨본문 바로가기⁩

1-D arrays · ⁨1차원 배열⁩

DECLARE an array

  • An array stores many values under one name.
  • DECLARE Score : ARRAY[1:5] OF INTEGER makes room for 5 integers.
  • The numbers 1:5 are the first and last index.

A 1-D array Score with five cells; the index runs 1 to 5, so Score[1] is the first value

Handout · ⁨교재 자료⁩

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP