<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<h3>¿Alcohol o Gasolina?</h3>
<script>
var tanque = 40;
var kmGasolina = 480;
var result1 = kmGasolina / tanque;
var kmAlcohol = 300;
var result2 = kmAlcohol / tanque;
document.write("El carro recorre " + (result1) + " kilometros usando gasolina");
document.write("<br>");
document.write("<br>");
document.write("El carro recorre " + (result2) + " kilometros usando alcohol");
document.write("<br>")
document.write("<br>")
document.write("Es mas eficiente el uso de gasolina");
</script>
</html>