Вариант 4.
for j := 0 to 3 do begin i := 2; while i <= 6 do begin i := i + 2; writeln ( '1' ); end;end;
for j := 0 to 3 do begin i := 2; while i <= 6 do begin i := i + 2; end; writeln ( '1' );end;
i := 2;while i<6 do begin i := i + 2;end;
i := 6;while i > 2 do begin i := i - 1;end;
a:=10;for i:=0 to 3 do begin a:=a-i;end;
i:=9;write('9');repeat write(i+2); i:=i+1;until i>11;
i:=6;write('9');while i<5 do begin write(i); i:=i+1;end;
i:=4;a:=12;while i<4 do begin a:=a+i; i:=i+1;end;