<meta charset="UTF-8">
<h3>¿Alcohol o gasolina?</h3>
<script>
var tanque1 = 40;
var camino = 480;
document.write("El consumo de gasolina es de: " + camino/tanque1 + " litros.");
document.write("<br>");
document.write("<br>");
var tanque2 = 40;
var km = 300;
document.write("El consumo de alcohol es de: " + km/tanque2 + " litros.");
</script>