<h1> Alcool ou Gasolina </h1>
<meta charset="UTF-8">
<script>
var caminhoComGasolina = 480;
var tanque = 40;
var consumoDeGasolina = caminhoComGasolina / tanque;
document.write ("O consumo de gasolina e" + consumoDeGasolina + " litros" );
document.write ("<br>");
var caminhoComAlcool = 300;
var consumoDeAlcool = caminhoComAlcool / tanque;
document.write ("O consumo de alcool e" + consumoDeAlcool + " litros" );
</script>