const n=10;
var a:array [1..n] of integer;
i,k:integer ;
begin
randomize;
write ('Массив: ');
for i:=1 to n do
a[i]:=random(144)-45;
write (a[i],' ')
end;
writeln;
end.
const n=10;
var a:array [1..n] of integer;
i,k:integer ;
begin
randomize;
write ('Массив: ');
for i:=1 to n do
begin
a[i]:=random(144)-45;
write (a[i],' ')
end;
writeln;
end.