Skip to content

Instantly share code, notes, and snippets.

@andrew8088
Created December 24, 2012 16:31
Show Gist options
  • Save andrew8088/4369904 to your computer and use it in GitHub Desktop.
Save andrew8088/4369904 to your computer and use it in GitHub Desktop.
FizzBuzz in Befunge.
1v >"zzuBzziF" ,,,,,,,,$v
>>::35*%!| >"zzuB" ,,,,$v
>:5%!| >"zziF",,,,$v
|%+1*:*25:+1< >:3%!|
@ .
^ ,*25< <
@andrew8088
Copy link
Author

If you're not familiar with FizzBuzz, the goal is to print all the numbers from 1 to 100, replacing multiples of 3 with "Fizz", multiples of 5 with "Buzz", and multiples of both 5 and 3 (multiples of 15) with "FizzBuzz."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment