class numloop3 { public static void main(String args[]) { int i,j; for(i=1;i<=5;i++) { for(j=1;j<=6-i;j++) System.out.print(6-j); System.out.println(); } } }
The Output is Given Below:
54321 5432 543 54 5
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 numloop3 { public static void main(String args[]) { int i,j; for(i=1;i<=5;i++) { for(j=1;j<=6-i;j++) System.out.print(6-j); System.out.println(); } } }
54321 5432 543 54 5
All rights reserved||Using Deluxe Template By Klodian
0 comments:
Post a Comment