Created
September 30, 2013 07:55
-
-
Save freeonterminate/6760612 to your computer and use it in GitHub Desktop.
Pascal の for 文を知らないと、どうなるか判らない系。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program ForQuiz; | |
var | |
Count: Integer; | |
i: Integer; | |
begin | |
Count := 3; | |
for i := 0 to Count - 1 do begin | |
Inc(Count); //→ Count := Count + 1; | |
Writeln(i); // 数字はいくつまで表示される? | |
end; | |
end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment