program b1;
uses crt;
var i,n: integer; a:array[1..100] of integer; p:longint;
begin
clrscr;
write('Nhap vao mot day so nguyen:'); readln(n);
for i:=1 to n do if(2<n) then
begin
write('a[',i,']='); readln(a[i]);
end;
for i:=1 to n do
write(a[i],' ');
readln;
end.
nếu in ra thì có thể tham khảo!