Show sourcecode
The following files exists in this folder. Click to view.
index.php
ovn_gr1.php
ovn_gr2.php
ovn_gr3.php
ovn_gr4.php
ovn_gr5.php
ovn_gr6.php
ovn_gr7.php
ovn_gr4.php
21 lines UTF-8 Windows (CRLF)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<?php
for ($celsius = -20; $celsius <= 40; $celsius += 10) {
$fahrenheit = 5 / 9 * ($celsius - 32);
echo $celsius . " °C = " . $fahrenheit . " °F";
echo "<br>";
}
?>
</body>
</html>