l114/warmte.php

<!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 $gradenCelcius = 10; function omrekenen($gradenCelcius) { $gradenFahrenheit = $gradenCelcius * (9/5) + 32; return $gradenFahrenheit; } $antwoord = omrekenen($gradenCelcius); echo $antwoord; ?> </body> </html>

Resultaat

Made by Thijs Aarnoudse