<meta charset="utf-8">
<script>
function linebreak(){
document.write("<br>");
}
function show(text){
document.write(text);
linebreak();
}
alert("Programa que mostra todos os números entre 30 a 40, exceto 33 e 37!");
var counter = 30;
while (counter <= 40){
show(counter);
counter++;
if (counter == 33 || counter == 37){
counter++;
}}
show ("FIM");
</script>