存進變數再輸出 $ans1=smp_function(2); echo "<br />2的平方=".$ans1; //直接輸出 echo "<br />4的平方=".smp_function(4); //迴圈執行連續輸出
確定! 回上一頁