<meta charset = "UTF-8">
<h1> PROGRAMA- CALCULA NUMEROS PARES </h1>
<script>
function saltarLinea() {
document.write("<br>");
document.write("<br>");
document.write("<br>");
}
function imprimir(frase) {
document.write(frase);
saltarLinea();
}
var numerosPares = 2;
imprimir ("WHILE")
while ( numerosPares <= 100) {
imprimir (numerosPares);
numerosPares = numerosPares + 2;
}
imprimir ("Fin")
</script>