1.
const n=15;
var a:array[1..n] of real;
i:integer;
begin
for i:=1 to n do begin
write('a[',i,']=');
readln(a[i]);
end;
for i:=1 to 5 do writeln(a[i]:5:3);
end.
2.
const n=25;
var a:array[1..n] of real;
i:integer;
begin
for i:=1 to n do begin
write('a[',i,']=');
readln(a[i]);
end;
for i:=n-4 to n do write(a[i]:8:2);
end.
3.
const n=20;
var a:array[1..n] of integer;
i:integer;
begin
for i:=1 to n do begin
write('a[',i,']=');
readln(a[i]);
end;
for i:=1 to n do
begin
write(a[i]:6);
if i mod 5 = 0 then writeln;
end;
end.
4.
const n=10;
var a:array[1..n] of integer;
i:integer;
begin
for i:=1 to n do begin
write('a[',i,']=');
readln(a[i]);
end;
for i:=n downto 1 do write(a[i],' ');
end.