int i=1; while(i<=10) { System.out.println(i); i=i++; }