<!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
$aantalVol = 2;
$aantalKind = 3;
function prijsBereken($aantalVol, $aantalKind) {
$prijs = $aantalVol * 15 + $aantalKind * 10;
return $prijs;
}
$prijs = prijsBereken($aantalVol, $aantalKind);
echo "De prijs is $prijs euro."
?>
</body>
</html>
Made by Thijs Aarnoudse