
error en el while
Publicado por carlos (2 intervenciones) el 24/03/2023 01:54:18
//buenas tengo proble en el while y no comprendo el error
<html>
<head>
</head>
<body>
<script type="text/javascript">
var n=11;
while ( n >= 1)
{
document.write (n);
document.write ("<br>");
n=n +1;
}
</script>
</body>
</html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
var n=11;
while ( n >= 1)
{
document.write (n);
document.write ("<br>");
n=n +1;
}
</script>
</body>
</html>
Valora esta pregunta


0