0

javascript pyramid

How do i create a pyramid like this 1 2 1 2 3 2 1 2 3 Such that when user is prompted to enter 3 i get 3 2 1 2 3

21st Aug 2017, 6:54 PM
abejide femi
5 Answers
+ 2
Try to do that inverting code and show me ;-)
22nd Aug 2017, 12:09 PM
Daniel
Daniel - avatar
+ 1
I did that invert pyramid code https://code.sololearn.com/WxmFlaPRgO74/#js until 9 work fine, next I must to do changes.
22nd Aug 2017, 6:15 AM
Daniel
Daniel - avatar
+ 1
Thanks daniel How do I make it upright
22nd Aug 2017, 10:46 AM
abejide femi
+ 1
Okay When I get on my pc
22nd Aug 2017, 12:10 PM
abejide femi
+ 1
Excellent, I will be waiting for that
22nd Aug 2017, 12:11 PM
Daniel
Daniel - avatar