codingtests/solutions/Generic/FIZZBUZZ/desc.yml

17 lines
620 B
YAML
Raw Permalink Normal View History

2012-03-01 12:40:45 +00:00
title: FizzBuzz
url: http://imranontech.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/
2012-03-01 12:40:45 +00:00
2012-03-15 12:12:02 +00:00
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.
2012-03-01 12:40:45 +00:00
2012-03-15 12:12:02 +00:00
solution: See the code...
2012-03-01 12:40:45 +00:00
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)
2012-03-15 12:12:02 +00:00
language: c