Show sourcecode
The following files exists in this folder. Click to view.
övning1.php
övning2.php
övning3.php
övning4.php
övning5.php
övningar.php
övningfunk1.php
övningfunk2.php
övningfunk3.php
övningfunk4.php
övningfunk5.php
övningfunk6.php
övningtest.php
övning4.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 = $celsius * 9 / 5 + 32;
echo "$celsius °C = $fahrenheit °F<br>";
}
?>
</body>
</html>