<meta charset="UTF-8">
<h3><u> Álcool ou Gasolina</u></h3>
<script>
var caminhoComGasolina = 480;
var caminhoComAlcool = 380;
var consumoDeGasolina = 40;
var consumoDeAlcool = 40;
var consumoAlcool = caminhoComAlcool / consumoDeAlcool;
document.write("O consumo de <b>Gasolina</b> é: "+ caminhoComGasolina/consumoDeGasolina + " km/l" + "<br>");
document.write("<br>" +"O consumo de <b>Álcool</b> é: " + Math.round(consumoAlcool) + " km/l");
</script>