Example #1
0
<?php

function num_hanbetsu($num)
{
    if ($num % 2 == 0) {
        echo '����';
    } else {
        echo '�';
    }
}
//����
num_hanbetsu(10);
Example #2
0
<?php

require "util.php";
//課題1を表示
my_profile();
//課題2を表示
num_hanbetsu(5);