close

<body>
<table width="700" border="1">
<?php
    //1.取得直徑
    $x = $_GET["diameter"];
    //2.計算
    $circle = pow(($x / 2), 2) * M_PI;
    //3.輸出結果
    echo round($circle,2);
?>
</table>

<body>
<table width="700" border="1">
<?php
    //1.取得直徑
    $x = $_GET["diameter"];
    //2.計算
    $circle = pow(($x / 2), 2) * M_PI;
    //3.輸出結果
    echo round($circle,2);
?>
</table>

arrow
arrow
    文章標籤
    php
    全站熱搜

    陰界黑幫 發表在 痞客邦 留言(0) 人氣()