<h3>¿Alcohol o gasolina?</h3>
<script>
let tanque = 40;
let kilometros = 480;
let consumoTotal = kilometros / tanque;
document.write("El consumo de gasolina es: " + consumoTotal)
document.write("<br>")
document.write("<br>")
// ------------------------------------
let kilometrosA = 300;
let total = kilometrosA / tanque;
document.write("El consumo de alcohol/km es: " + total)
</script>