<meta charset="UTF-8">
<h3>¿Alcohol o Gasolina?</h3>
<script>
var tanque = 40;
var usoGasolina = 480;
var usoAlcohol = 300;
var consumoGasolina = usoGasolina/tanque
var consumoAlcohol = usoAlcohol/tanque
document.write("El consumo de gasolina es de = " + consumoGasolina + " Km/Litro");
document.write("<br>");
document.write("<br>");
document.write("El consumo de alcohol es de = " + consumoAlcohol + " Km/Litro");
</script>