티스토리 뷰

aaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfaaaaaaaaaasdadasdfasdfasdfv
askldfj
asdkflklj
asdklfjklj
asdklfjkljasdf

gprogram test is
  type int integer;
var a : int;
begin
repeat
  read a;
until a < 100
  end repeat;

  repeat
  a := a+1
  until
  a < 100
  end repeat;

  if a<100 then
read a
  end if;
  write a;
  while a<100 do
read a
  end while
end

RESULT

0123456

1차적으로 기본적인 에러처리를 추가했다. 최대한 무한 루프가 발생하지 않도록 신경을 많이 쓰기는 했지만 그래도 무언가 부족하다는 사실을 감추기가 힘들다. 이제 기본적인 부분을 좀더 보강하고 마무리 레포트를 쓰면 될 듯 싶다.

그리고 예문을 얼라(인수)에게 삥뜯어서 ㅋㅋ 테스트 ㄱㄱ

Statistics Source Code