過去ログ

ゴンとも
十進basicで以下でした。

for a=1 to 3
for b=1 to 3
if 6=a+b then goto 50
FOR c=1 TO 3
if 6=b+c then goto 40
for d=1 to 3
if 6=c+d then goto 30
for e=1 to 3
if 6=d+e then goto 20
for f=1 to 3
if 6=e+f then goto 10
print a;b;c;d;e;f
10 NEXT f
20 NEXT e
30 NEXT d
40 NEXT c
50 NEXT b
60 NEXT a
END
豊川市   1月25日(木) 0:27:57   MAIL:fttnm528@ybb.ne.jp   29220

過去問題一覧へ戻る