Apple II Programs Apple II Programs

Byte-sized delights that are guaranteed to ward off hysteria and melancholy!

12 January 2019

FizzBuzz

by Lee Fastenau


Program

0FORN=1TO100:A=N/3=INT(N/3):B=N/5=INT(N/5):?MID$("FIZZBUZZ"+STR$(N),9-4*((AORB)+A),4+4*(A=B)):NEXT

Try me in Apple2TS!

Information

Applesoft implementation of FizzBuzz.

It’s super clever and completely unreadable. So… did I get the job?

Discussion

Apple II Enthusiasts Group Permalink