program chuongtrinh;
uses crt;
var i,s:integer;
a:array [ 1..10] of integer;
begin
for i:=1 to 10 do
begin
write (' a [',i,']= ');
readln ( a[i]);
end;
s:=0;
for i:=1 to 10 do s:= s+ a[i];
write (' Tong cua mang la: ',s);
readln
end.
P/S: Tham khảo nha!!!