<meta charset="utf-8">
<h3>¿Alcohol o gasolina?</h3>
<script >
var litros = 40;
var distancia = 480;
document.write ("El tanque de gasolina consumio" + distancia/litros + "por hora");
document.write("<br>")
document.write("<br>")
distancia = 300;
document.write ("El tanque de alcohol consumio" + distancia/litros + "por hora");
document.write("<br>")
document.write("<br>")
</script>