Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

fizzbuzz

Name: Anonymous 2011-03-25 23:20

Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.

Language: C
Difficulty: One line of code (i.e. one semicolon).

Shortest program wins.

Name: Anonymous 2011-03-26 9:01

#include <fizzbuzz.h>
void main() { fizzbuzz(); }


FLAWLESS VICTORY

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List