class numloop4 { public static void main(String args[]) { int i,j; for(i=1;i<=6;i++) { for(j=1;j<=i;j++) System.out.print(i); System.out.println(); } } }
The Output is Given Below:
1 22 333 4444 55555 666666
c, c++ , java, oracle, database design, c tutorial, c++ tutorial, java tutorial, oracle tutorial, programming, make program easy, c programming, c advance program, java advance program
class numloop4 { public static void main(String args[]) { int i,j; for(i=1;i<=6;i++) { for(j=1;j<=i;j++) System.out.print(i); System.out.println(); } } }
1 22 333 4444 55555 666666
All rights reserved||Using Deluxe Template By Klodian
0 comments:
Post a Comment