Мова програмування Turbo-Basic
CIRCLE (X, Y), R
NEXT I
END
'НОТИ
'----------
5 CLS
LOCATE 1, 1: PRINT "--------- СI (B)"
LOCATE 2, 1: PRINT "--------- ЛЯ (A)"
LOCATE 3, 1: PRINT "--------- СОЛЬ (G)"
LOCATE 4, 1: PRINT "--------- ФА (F)"
LOCATE 5, 1: PRINT "--------- МI (E)"
LOCATE 6, 1: PRINT "--------- РЕ (D)"
LOCATE 7, 1: PRINT "--------- ДО (C)"
LOCATE 9, 1: PRINT " Вихiд (Q)"
PLAY "O2"
10W$ = INKEY$: IF W$ = "" THEN GOTO 10
IF W$="B" OR W$="b" THEN LOCATE 1,5: PRINT "O": PLAY "B2": GOTO 5
IF W$="A" OR W$="a" THEN LOCATE 2,5: PRINT "O": PLAY "A2": GOTO 5
IF W$="G" OR W$="g" THEN LOCATE 3,5: PRINT "O": PLAY "G2": GOTO 5
IF W$="F" OR W$="f" THEN LOCATE 4,5: PRINT "O": PLAY "F2": GOTO 5
IF W$="E" OR W$="e" THEN LOCATE 5,5: PRINT "O": PLAY "E2": GOTO 5
IF W$="D" OR W$="d" THEN LOCATE 6,5: PRINT "O": PLAY "D2": GOTO 5
IF W$="C" OR W$="c" THEN LOCATE 7,5: PRINT "O": PLAY "C2": GOTO 5
IF W$="Q" OR W$="q" THEN END
BEEP: GOTO 10