CLS FOR a =1 TO 9 FOR b =0 TO 9 FOR c =0 TO 9 IF a+b+c=6 THEN PRINT 100*a+10*b+c NEXT c NEXT b NEXT a END
не понятно