<meta charset="utf-8">
<h3>¿Alcohol o gasolina?</h3>
<script>
var tanque = 40
var distanciaGasolina = 480
var distanciaAlcohol = 300
document.write("El consumo de gasolina es: " + distanciaGasolina/tanque + " Litros");
document.write("<br>");
document.write("<br>");
document.write("El consumo de Alcohol es: " + distanciaAlcohol/tanque + "alcohol/km");
document.write("<br>");
</script>