uses crt;
var
a:array[1..50] of real;
i,kol,n:byte;
s:real;
begin
clrscr;
writeln(' Vvedite N: ');
readln(n);
for i:=1 to n do begin
read(a[i]);
s:=s+abs(a[i]);
inc(kol);
if a[i]=0 then begin
s:=0;
kol:=0
end;
end;
writeln;
for i:=1 to n do write(a[i]:5 :2);
writeln;
write(' Kol= ',kol,' S= ',s:0 :2);
readkey
end.
В первой что именно не понятно?