class Pattern2
{ public static void main(String[] args) { int i,j,k; for(i=1;i<=4;i++) { for(j=i;j>=1;j--) { System.out.print(j); } System.out.println(); } } } |
OUTPUT:
1 21 321 4321 |
Android Tutorial -Learn Android Programming and how to develop android application,activity,lifecycle,service,layout,architecture,debugging,bugs ,handling event others.
![]() | ![]() ![]() | ![]() | ||
![]() | ![]() | ![]() | ||
![]() ![]() | ![]() ![]() | |||
![]() |
| ![]() |
No comments:
Post a Comment