|
ゴンとも |
|
今日は易問だったのですが開いたときにはもう問題がでてました。
以下の十進BASICでやりました。 for a=1 to 4 for b=1 to 4 if a+b=2 then goto 40 for c=1 to 4 if b+c=2 then goto 30 for d=1 to 4 if c+d=2 then goto 20 FOR e=2 TO 4 IF d+e=2 THEN GOTO 10 print a;b;c;d;e 10 next e 20 next d 30 next c 40 next b 50 next a END |
|
豊川市
2月12日(木) 0:17:04
MAIL:fttnm528@ybb.ne.jp 33878 |