Ответ: 1
var
a,b:array[1..100] of integer;
i, z:integer;
begin
for i:=1 to 100 do
A[i] := 50 - i;
z:=0;
for i:=1 to 100 do begin
B[i] := A[i] + 49;
if b[i]<0 then inc(z);
end;
print('Отрицательных=',z)
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ: 1
var
a,b:array[1..100] of integer;
i, z:integer;
begin
for i:=1 to 100 do
A[i] := 50 - i;
z:=0;
for i:=1 to 100 do begin
B[i] := A[i] + 49;
if b[i]<0 then inc(z);
end;
print('Отрицательных=',z)
end.