const
n = 10;
var
a : array [1..n] of integer;
i : integer;
begin
for i := 1 to n do
begin
write('введите ', i, ' элемент: ');
readln(a[i])
end;
{вывод прямой}
for i := 1 to n do write(a[i]:4);
writeln;
{вывод обратный}
for i := n downto 1 do write(a[i]:4)
end.
n = 10;
var
a : array [1..n] of integer;
i : integer;
begin
for i := 1 to n do
begin
write('введите ', i, ' элемент: ');
readln(a[i])
end;
{вывод прямой}
for i := 1 to n do write(a[i]:4);
writeln;
{вывод обратный}
for i := n downto 1 do write(a[i]:4)
end.