Any one help to print number pyramid pattern | Sololearn: Learn to code for FREE!
+ 2

Any one help to print number pyramid pattern

1 2 3 4 5 6 7 8 9 10

7th Jun 2017, 2:36 PM
khadeeja Shamna
khadeeja Shamna - avatar
6 Respuestas
+ 3
i already checked this code
8th Jun 2017, 2:55 AM
khadeeja Shamna
khadeeja Shamna - avatar
+ 2
i used for loop but i dont get number pattern in pyramid
7th Jun 2017, 2:39 PM
khadeeja Shamna
khadeeja Shamna - avatar
+ 1
for loop
7th Jun 2017, 2:38 PM
Mohsen
Mohsen - avatar
0
u have to print the numbers by incrementing its var.
7th Jun 2017, 2:43 PM
Mohsen
Mohsen - avatar
0
I have a similar code, check it out https://code.sololearn.com/crCVYizPH7UL/?ref=app
7th Jun 2017, 7:38 PM
Andrés04_ve
Andrés04_ve - avatar
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
7th Jun 2017, 7:40 PM
Andrés04_ve
Andrés04_ve - avatar