<meta charset="UTF-8">
<HTML>
<h3>Álcool ou Gasolina?</h3>
<script>
var tanque = 40;
var caminhoComGasolina = 480;
var consumoDeGasolina = caminhoComGasolina / tanque;
document.write("O consumo de Gasolina é: " + consumoDeGasolina);
document.write("<br>");
var tanqueAlcool = 40;
var caminhoComAlcool = 300;
var consumoDeAlcool = caminhoComAlcool / tanqueAlcool ;
document.write("O consumo de Álcool é: " + consumoDeAlcool);
</script>
</HTML>