"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”." To learn more and see clean versions, see: https://wiki.c2.com/?FizzBuzzTest
[<language name>](<file-name>), <number-of-bytes> bytes. GitHub tells you the number of bytes for any file.<language-name>.<file-extension> that satisfies the rules above.Try to write a detailed commit message.
If possible make sure you end your file with a newline at the end and are using LF as opposed to CRLF Line sequences.
Feel free to improve on existing solutions if you can do better :)
(top 30 of 35)
Hacker News (1)
Swift
16.7%
Scheme
15.1%
Elm
10.4%
Common Lisp
8.7%
C++
8.1%
Go
4.7%
Dart
4.3%
Python
4.3%
Rust
4.0%
Haskell
3.9%
R
3.8%
Java
3.7%
C
3.3%
Ruby
2.4%
PHP
2.4%
JavaScript
2.3%
Raku
1.8%
"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”." To learn more and see clean versions, see: https://wiki.c2.com/?FizzBuzzTest
[<language name>](<file-name>), <number-of-bytes> bytes. GitHub tells you the number of bytes for any file.<language-name>.<file-extension> that satisfies the rules above.Try to write a detailed commit message.
If possible make sure you end your file with a newline at the end and are using LF as opposed to CRLF Line sequences.
Feel free to improve on existing solutions if you can do better :)
Hacker News (1)
(top 30 of 35)
Swift
16.7%
Scheme
15.1%
Elm
10.4%
Common Lisp
8.7%
C++
8.1%
Go
4.7%
Dart
4.3%
Python
4.3%
Rust
4.0%
Haskell
3.9%
R
3.8%
Java
3.7%
C
3.3%
Ruby
2.4%
PHP
2.4%
JavaScript
2.3%
Raku
1.8%