10 FOR I%=1 TO 100 20 OUT$ = "" 30 IF (I% MOD 3) = 0 THEN OUT$ = "Fizz" 40 IF (I% MOD 5) = 0 THEN OUT$ = OUT$ + "Buzz" 50 IF OUT$ = "" THEN PRINT I% ELSE PRINT OUT$ 60 NEXT I% 70 END
こんなんだっけ
Permalink | 記事への反応(0) | 16:15
ツイートシェア