+ 3

How do I turn this triangular shape upside down?

https://code.sololearn.com/W8eLQkvbi3Ao/?ref=app

10th May 2019, 2:17 AM
Gavin Macpherson
Gavin Macpherson - avatar
2 ответов
+ 1
Replace for(y=a; y<10; y++) with for(y=0; y<a; y++) and z-- with z++
10th May 2019, 4:37 AM
Nikita Utkin
Nikita Utkin - avatar
+ 2
Thnx
10th May 2019, 10:38 AM
Gavin Macpherson
Gavin Macpherson - avatar