戻る

解答例

PHP

<?php
header("Content-type: text/html; charset=utf-8");

for($i = 1; $i <= 10; $i++){
	echo $i;
	if($i <= 5){
		echo "●";
	}
	else{
		exit();
	}
	echo "<br>";
}
echo "ループ終了";
?>

inserted by FC2 system