This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* FizzBuzz 問題 | |
* * 3で割り切れる場合は Fizz と出力 | |
* * 5で割り切れる場合は Buzz と出力 | |
* * 3でも5でも割り切れる場合は Fizz Buzz と出力する | |
* | |
* Fork ボタンでフォークして作業開始 | |
* | |
* スクリプトの実行方法 $ php fizzbuzz.php |