codingtests/Generic/FIZZBUZZ/desc.yml
2012-03-01 13:40:45 +01:00

21 lines
600 B
YAML

title: FizzBuzz
url: http://projecteuler.net/problem=1
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
usage:
language: php
solve.rb:
desc: Basic solution in Ruby
language: ruby
solve.c:
desc: ANSI C solution (Tested with TCC)
language: c