<meta charset="utf-8">
<h3>Álcool ou Gasolina?</h3>
<script>
var tanque = 40
var caminhoComGasolina = 480
var consumoDegasolina = caminhoComGasolina/tanque
document.write("Foram consumidos " + consumoDegasolina + " KM/L de Gasolina");
var caminhoComAlcool = 300
var consumoDeAlcool = caminhoComAlcool/tanque
document.write("<br>");
document.write("Foram consumidos " + consumoDeAlcool + " KM/L de Alcool");
</script>