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

    1369 people follow tut2learn
    MrBaleshwar MrBalesh kanhiya95803929 kanhiya9 Krishna_exams Krishna_ Anilkum95626031 Anilkum9 nileshbittuag nileshbi indrajeetc1992 indrajee
Popup Dialog Box Powered By : XYZScripts.com
  • RSS
  • Facebook
  • Google+
  • Twitter