A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Welcome to the Fizz Buzz in Commodore Basic page! Here, you'll find the source code for this program as well as a description of how the program works.
10 FOR I = 1 TO 100
20 S$ = ""
30 IF (I - INT(I / 3) * 3) = 0 THEN S$ = S$ + "Fizz"
40 IF (I - INT(I / 5) * 5) = 0 THEN S$ = S$ + "Buzz"
45 REM STR$(I) prepends a space for positive numbers. MID$ removes it
50 IF S$ = "" THEN S$ = S$ + MID$(STR$(I), 2)
60 PRINT S$
70 NEXT I
Fizz Buzz in Commodore Basic was written by:
If you see anything you'd like to change or update, please consider contributing.
No 'How to Implement the Solution' section available. Please consider contributing.
No 'How to Run the Solution' section available. Please consider contributing.