Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
FizzBuzz for PHP 出題ファイル
* FizzBuzz 問題
* * 3で割り切れる場合は Fizz と出力
* * 5で割り切れる場合は Buzz と出力
* * 3でも5でも割り切れる場合は Fizz Buzz と出力する
* Fork ボタンでフォークして作業開始
* スクリプトの実行方法 $ php fizzbuzz.php
* 調べていいのは だけ!
$numbers = range(1,100);
foreach ($numbers as $number) {
echo $number;
echo PHP_EOL;
echo PHP_EOL;

This comment has been minimized.

Copy link
Owner Author

hissy commented Jul 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.