General FizzBuzz: Difference between revisions

Content deleted Content added
Line 277: Line 277:


=={{header|BBC BASIC}}==
=={{header|BBC BASIC}}==
This implementation (unlike some of the ones given on this page...) fully obeys the specification, in that it prompts the user for the parameters at run time. It also allows users to specify as many factors as they want, rather than limiting them to three. '''Something is missing from this program. Fizz and buzz aren't included.
This implementation (unlike some of the ones given on this page...) fully obeys the specification, in that it prompts the user for the parameters at run time. It also allows users to specify as many factors as they want, rather than limiting them to three. '''Something is missing from this program. Fizz, baxx and buzz aren't defined anywhere.
<lang bbcbasic>REM >genfizzb
<lang bbcbasic>REM >genfizzb
INPUT "Maximum number: " max%
INPUT "Maximum number: " max%