<meta charset="UTF-8">
<h3>¿Alcohol o Gasolina?</h3>
<script>
let fuel = 'gasolina',
distanceTraveled = 480,
kmXLiter = distanceTraveled/40;
document.write(`Se recorren ${kmXLiter} kilometros por litro de ${fuel} <br>`);
fuel = 'alcohol';
distanceTraveled = 300;
kmXLiter = distanceTraveled/40;
document.write(`Se recorren ${kmXLiter} kilometros por litro de ${fuel}`);
</script>