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