Files
codekata-golang/01_fizzbuzz/README.md
2020-10-21 08:54:53 +08:00

5 lines
260 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# FizzBuzz
写一个程序打印出从1到100的数字将其中3的倍数替换成“Fizz”5的倍数替换成“Buzz”。既能被3整除、又能被5整除的数则替换成“FizzBuzz”。
要求:每行代码都必须有单元测试覆盖。