<meta charset="utf-8">
<h3>¿Alcohol o Gasolina?</h3>
<script>
var tanque = 40;
var recorridoCongaslina = 480;
var consumoDeGasolina = 480/40;
document.write("<br>" );
document.write("Consumo de gasolina por km recorrido: " + consumoDeGasolina + "Litros" );
document.write("<br>" );
var recorrido_alcohol = 300;
var consumoDeAlcohol = 300/40;
document.write(" Con Alcohol recorre por km " + consumoDeAlcohol + "km" );
document.write("<br>" );
</script>