Computer Science, asked by kunwarayushparmar288, 18 hours ago

write a program write a program to displày the following

1 * * * *
1 2 * * *
1 2 3* *
1 2 3 4 *
1 2 3 4 5
answer it fast today is my practical ​​

Answers

Answered by hxneypot123
0

System.out.println(); } }

public class KboatPattern{ public static void main(String args[]) { for (int i = 1; i <= 5; i++) { for (int j = i; j >= 1; j--) { System.out.print(j + " "); } System.out.println(); } }}

hope \: this \: helps

Similar questions