<?php
// 12km/L
fscanf(STDIN, "%d", $hours);
fscanf(STDIN, "%d", $speed);
$liters = ($speed * $hours)/12;
printf("%.3f\n", $liters);
?>

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: