<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<h3>¿Alcohol o gasolina?</h3>
<script>
var tanque = 40
var gas = 480
document.write ("la cantidad de gasolina gastada es: " + (gas/tanque))
document.write ("<br>");
document.write ("<br>");
var alc = 300
document.write ("la cantidad de gasolina gastada es: " + (alc/tanque))
</script>
</body>
</html>