Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Example of While Loop

public class Test {

   public static void main(String args[]) {
      int x = 10;

      while( x < 20 ) {
         System.out.print("value of x : " + x );
         x++;
         System.out.print("
");
      }
   }
}
Source by sites.google.com #
 
PREVIOUS NEXT
Tagged: #Example #While #Loop
ADD COMMENT
Topic
Name
2+1 =