放锣传璸衡诀 (ex_F2C.aia)
锣传そΑ 尼ん放=(地ん放-32)*5/9


磅︽挡狦

ex_F2C.php
<html>
<head>
<title>地ん锣尼ん放</title>
</head>
<body bgcolor="#F9E6A2">
<form method="POST" action="">
<h2><strong>地ん锣尼ん放</strong></h2>
地ん放:<input type="text" name="tempF" size="10">
<input type="submit" name="send" value="絋粄癳">
</form>
</html>
<?php
if (isset($_POST["send"])) {
$tempF=$_POST['tempF'];
$tempC=($tempF-32)*5/9; //地ん锣尼ん放そΑ
$tempC=number_format($tempC, 2); //陪ボ2计翴
echo '地ん'.$tempF.'=尼ん'. $tempC.'';
}
?>
磅︽挡狦
