Professional Documents
Culture Documents
<head>
<title>Ejemplos6</title>
</head>
<body>
<h1>HOLA MUNDO CRUEL</h1>
<script type="text/javascript">
for (x=1;x<5;x++) {alert(x);}
x=1
while (x<5) {alert (x);x++;}
var i=0;
while (i<=5){var p=0;
while(p<=9){document.write(p+" ");p++;}
document.write("<br/>");i++;}
</script>
</body>
</html>