21 lines
600 B
YAML
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 <20>Fizz<7A> instead of the number and for the multiples of five print <20>Buzz<7A>. For numbers which are multiples of both three and five print <20>FizzBuzz<7A>.
|
|||
|
|
|||
|
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
|