All pastes #1407082 Raw Edit

szamsor

public text v1 · immutable
#1407082 ·published 2009-04-29 06:48 UTC
rendered paste body
program szamsor;
uses crt;
type sor=array[1..100] of integer;
var x,i:longint;
    a:sor;

begin
clrscr;
writeln('Hany szamot akarsz megadni?!');
readln(x);
for i:=1 to x do
             begin
             write('a[' ,i, ']=');
             readln(a[i]);
             end;
for i:=1 to x do write(a[i],' ');
readln;
end.