Почему программа не работает (Pascal)

Program abc;
Var A,B: array [1..5] of integer;
i:integer;
begin
For i := 1 to 5 do begin
writeln ('введите A');
readln(A[i]);
writeln ('Введите B');
readln(B[i]);
writeln(A[1]+B[1]);
writeln(A[2]+B[2]);
writeln(A[3]+B[3]);
writeln(A[4]+B[4]);
writeln(A[5]+B[5]);
end.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.