実数変換

1 件の記事

2008

PHPで偶数だけ表示させる方法

なんか無駄な授業だとおもってたけど、そうでもなかったwww 偶数を出す方法ってこんな簡単だったのね。 <?php for($i = 0; $i < 10; $i++){ print "**** php program"; if($i & 1){ print "<br />"; }else{ print ""; } } …

Photo: Jaz. Mine / Unsplash LicensePhoto: Se. Tsuchiya / Unsplash LicensePhoto: Sergio / Unsplash LicensePhoto: Robert Bant / Unsplash LicensePhoto: Zhi Xuan Hew / Unsplash License