var num1,num2,i:integer;
nums:array [1..10] of integer;
begin
i:=1;
while (i <= 10) begin
writeln('Vvedite ',i,' paru!');
write('num 1: ');readln(num1);
write('num 2: ');readln(num2);
if(num1 >= num2) then nums[i]:=num1 else nums[i]:=num2;
i:=i+1;
end;
while(i<=10)begin
write(nums[i],' ');
end.
var num1,num2,i:integer;
nums:array [1..10] of integer;
begin
i:=1;
while (i <= 10) begin
writeln('Vvedite ',i,' paru!');
write('num 1: ');readln(num1);
write('num 2: ');readln(num2);
if(num1 >= num2) then nums[i]:=num1 else nums[i]:=num2;
i:=i+1;
end;
i:=1;
while(i<=10)begin
write(nums[i],' ');
i:=i+1;
end;
end.