<meta charset = "UTF-8">
<h3>Alcool ou Gasolina?</h3>
<script>
var tanque = 40;
var caminhoComGasolina = 480;
var caminhoComAlcool = 300;
document.write("qual o consumo com alcool?");
document.write("<br>");
document.write(caminhoComAlcool / tanque + "km/L");
document.write("<br>");
document.write("<br>");
document.write("qual o consumo com Gasolina?");
document.write("<br>");
document.write(caminhoComGasolina / tanque + "km/L");
</script>