Pattern | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Pattern

1 21 321 4321 54321

13th Dec 2017, 11:03 AM
Rishabh
4 Answers
+ 7
what is the question??
13th Dec 2017, 11:09 AM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
13th Dec 2017, 11:15 AM
Louis
Louis - avatar
+ 6
public class Program { public static void main(String[] args) { for(int j=1;j<=5;j++) { for(int k=j;k>=1;k--) { System.out.print(k); } System.out.println(""); } } }
13th Dec 2017, 11:20 AM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
21st Jul 2020, 12:57 AM
shubham kumar
shubham kumar - avatar