giả sử biến mảng A=(2,1,3,2,1).Khi thực hiện câu lệnh sau:
S:=0
For i:=1 to 5 do s:s+A(i);
Đăng ký qua Facebook hoặc Google: