JavaScript while loop



JavaScript while loop



<html>
<head>
<title>Java Script while loop</title>
</head>
<body>

<script>
   var i=1;
   
   while(i<=10){
       
   document.write(i+"<br>") ;
   
   i++;
   }

</script>

</body>
</html>

Post A Comment
  • Blogger Comment using Blogger
  • Facebook Comment using Facebook
  • Disqus Comment using Disqus

No comments :

Thanks For visiting Infotech Solutuion Blog