<html> <head> <title>The do..while Statement Ensures at Least One Iteration</title> </head> <body> <script language="JavaScript1.2" type="text/javascript"> <!-- var userEntry = 0; var x = 1; do{ document.writeln(x); x++; }while(x <= userEntry); // --> </script> </body> </html>