evalpark:fizzbuzz

FizzBuzz in various languages. To be concise, most examples below print up to 30 instead of 100.

Table of Contents

awk

Bash

BASIC

bc

Befunge 93

Brainfuck

C

C++

C#

COBOL

Common Lisp

C Shell

D

Elixir

erlang

F#

Fortran 95

Go

Haskell

IO

J

Java

JavaScript

Julia

Lazy-K

See the special page.

Lua

m4

nim

Objective-C

Ocaml

Pascal

Perl

PHP

PostScript

Python 3

R

Raku (formerly known as Perl 6)

Ruby

Rust

Scala

Scheme

Shell Script

Smalltalk

Tcl

VB.net

Whitespace

x86-64 assembly

zig