Iterative powered by(view source)

Description class test{ public static void main (String args[]) { int t=1; while (t<=10); { System.out.println (t) ; t++; }}}
Output