Tag Archives: js do-while






5.5.5 while..do statement

The while loop is used when you want the loop to execute and continue executing while the specified condition is true.  It tests the condition at the beginning of the loop, itself if the condition is true it executes the statements within the body of the loop or else it terminates. <html> <body> <script type

more..

5.5.4 do..while statement

The do..while statement tests the condition after the loop body executes, therefore the loop body always executes at least once.  During testing, if  the condition is true it repeats the statement for the specified number of times or it terminates the loop execution. Syntax: Do Statement; While(condition);   Sample Programe: <html> <body> <script type =”text/javascript>

more..

  • Email Subscription

    Sign-up for our email newsletter and get free job alerts, current affairs and GK updates regularly.

    Subscribe Here

  • Twitter Followers

    1473 people follow tut2learn
    DeepakS17265221 DeepakS1 Deandrea101 Deandrea TptXx TptXx NitinPa06634460 NitinPa0 ShandyShade ShandySh bp_owl bp_owl
Popup Dialog Box Powered By : XYZScripts.com
  • RSS
  • Facebook
  • Google+
  • Twitter