vara: array[1..5] of integer;p,ot,i:integer;beginp:=0;ot:=0;for i:=1 to 5 doreadln(a[i]);
for i:=1 to 5 do beginif a[i]>0 thenp:=p+1elseot:=ot+1;end;
writeln('polozitelnich=', p, ' otrizatelnich=', ot);end.
var
a: array[1..5] of integer;
p,ot,i:integer;
begin
p:=0;
ot:=0;
for i:=1 to 5 do
readln(a[i]);
for i:=1 to 5 do begin
if a[i]>0 then
p:=p+1
else
ot:=ot+1;
end;
writeln('polozitelnich=', p, ' otrizatelnich=', ot);
end.