Answer:

' Do repeatedly:
'   Ask the user for a note.
'   Play it for about a second.
'   (The user enters a note less than 37 to stop.)
'
PRINT "Enter the frequency (37-32000):"
INPUT FREQ
DO WHILE FREQ >= 37
  SOUND FREQ, 18
  PRINT "Enter the frequency (37-32000):"
  INPUT FREQ
LOOP
PRINT "Done!"
END

End of Chapter.

That is the end of this chapter. You may wish to root about in the following. Click on a term that interests you to go to where it was discussed.

You have reached the end of the chapter.

go to previous page   go to home page