+ 2
Any one help to print number pyramid pattern
1 2 3 4 5 6 7 8 9 10
6 Answers
+ 3
i already checked this code
+ 2
i used for loop but i dont get number pattern in pyramid
+ 1
for loop
0
u have to print the numbers by incrementing its var.
0
I have a similar code, check it out
https://code.sololearn.com/crCVYizPH7UL/?ref=app
0
that's
1
1 2 1
1 2 3 2 1
1 2 3 4 3 2 1
1 2 3 4 5 4 3 2 1
But you can change the code and make it that you want