Show sourcecode
The following files exists in this folder. Click to view.
övning1.php
övning2.php
övning3.php
övning4.php
övning5.php
övning6.php
övning7.php
övning1.php
17 lines ASCII Windows (CRLF)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fahrenheit converter</title>
</head>
<body>
<?php
$fahrenheit = 67;
$celsius = 5 / 9 * ($fahrenheit - 32);
echo "Fahrenheit: $fahrenheit grader<br>";
echo "Celsius: $celsius grader";
?>
</body>
</html>