<meta charset="UTF-8">
<h3>Álcool ou Gasolina?</h3>
<h3>Gasolina</h3>
<script>
var tanque = 40;
var caminhoComGasolina = 480;
var consumoDeGasolina = tanque/caminhoComGasolina;
document.write(consumoDeGasolina);
</script>
<h3>Álcool</h3>
<script>
var caminhoComÁlcool = 300;
var consumoDeÁlcool = tanque/caminhoComÁlcool;
document.write(consumoDeÁlcool);
</script>