Monday, September 10, 2012

while loop example in javascript


while loop example in javascript

<html>
<script language="Javascript">
var a=1
while (a<=10)
{
document.writeln("<br>"+a);
a++
}
</script>
</html>


0 comments:

Post a Comment