17 lines
620 B
YAML
17 lines
620 B
YAML
title: FizzBuzz
|
|
url: http://imranontech.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/
|
|
|
|
desc: The classical coding challenge. 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.
|
|
|
|
solution: See the code...
|
|
|
|
solutions:
|
|
solve.php:
|
|
desc: Basic solution
|
|
language: php
|
|
solve.rb:
|
|
desc: Basic solution in Ruby
|
|
language: ruby
|
|
solve.c:
|
|
desc: ANSI C solution (Tested with TCC)
|
|
language: c |