var gasolina = 40;
var recorrido =480;
var consumoGasolina = (recorrido/gasolina);
document.write("El consumo de gasolina es " + consumoGasolina +'<br>');
var Alcohol = 40;
var recorridoConAlcohol =300;
consumoGasolina = (recorridoConAlcohol/Alcohol);
document.write("El consumo de Alcohol es " + consumoGasolina);