Răspuns:
for i: =1 to 5 do
for j:=1 to i do
write(i,' ');
i=1 => j=1 .. 1 => write(i, ' ') => 1
i=2 =>j=1..2 => write(i,' ') => 2 2
i=3 =>j=1..3 => write(i,' ') => 3 3 3
i=4 =>j=1..4 => write(i,' ') => 4 4 4 4
i=5 =>j=1..5 => write(i,' ') => 5 5 5 5 5