<!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
$graden = 10;
$fahrenheit = berekening($graden);
echo "$graden graden Celcius is gelijk aan $fahrenheit graden Fahrenheit";
function berekening($graden){
$antwoord = $graden * (9/5) + 32;
return $antwoord;
}
?>
</body>
</html>
Made by Thijs Aarnoudse