Solutions

This commit is contained in:
2025-01-25 16:42:37 +01:00
parent fbfce8033a
commit 3c31c28959
6 changed files with 75 additions and 5 deletions

5
speed.php Normal file
View File

@@ -0,0 +1,5 @@
<?php
$distance = $_GET["distance"];
$time = $_GET["time"];
$speed = number_format($distance/$time, 2);
echo ("Vous avez parcouru $distance km en $time heures, votre vitesse moyenne est $speed km/h.");