Showing posts with label print 10 to 19 number with for loop. Show all posts
Showing posts with label print 10 to 19 number with for loop. Show all posts

Saturday, 15 June 2013

java for loop program

public class Test {

   public static void main(String args[]) {

      for(int x = 10; x < 20; x = x+1) {
         System.out.print("value of x : " + x );
         System.out.print("\n");
      }
   }
}