' Do repeatedly: ' Ask the user for a note. ' Play it for about a second. DO PRINT "Enter the frequency (37-32000):" INPUT FREQ SOUND FREQ, 18 LOOP END
It would be nice if the user of the program had some
choice in how long the note were played out.
To do this,
put some statements in front of the DO
that:
Modify the above program so it meets these new goals.