var
ar: array[1..5]of integer;
i, sum: integer;
begin
sum := 0;
for i := 1 to 5 do
read(ar[i]);
sum := sum + ar[i];
end;
write(sum);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
ar: array[1..5]of integer;
i, sum: integer;
begin
sum := 0;
for i := 1 to 5 do
begin
read(ar[i]);
sum := sum + ar[i];
end;
write(sum);
end.