Ответ:
program lol;
var
n,i,k:integer;
a: array [1..n] of integer;
begin
read(n);
for i:=1 to n do
a[i]:=random ( 41)-20;
if a[i]>0 then
k+=1;
end.
Объяснение:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
program lol;
var
n,i,k:integer;
a: array [1..n] of integer;
begin
read(n);
for i:=1 to n do
a[i]:=random ( 41)-20;
if a[i]>0 then
k+=1;
end.
Объяснение: