+ 3
100+ ways to draw a pyramid
you are invited to submit code that draws a pyramid , each one must use a different way to achieve the same result (the pyramid), it's not about which code is better , it's just a mind teaser aimed to improve your skills , ejoy😊
9 Antworten
+ 4
straight Number pyramid
https://code.sololearn.com/cjdAy26cY2GK/?ref=app
Revese Number pyramid
https://code.sololearn.com/cwI3FvH9teQx/?ref=app
+ 3
https://code.sololearn.com/c72yFuCMpde1/?ref=app
+ 2
this is the basic code offered by sololearn
https://code.sololearn.com/czJrFQk8Z41o/?ref=app
+ 2
this is a code to draw pyramid using while loop
https://code.sololearn.com/ccrhkzP8ql1n/?ref=app
+ 2
this time I use recursive method to draw the same pyramid
https://code.sololearn.com/clLwFXsccz4o/?ref=app
+ 1
https://code.sololearn.com/cvX2vnS2ZsdU/?ref=app
+ 1
another way to draw pyramid
https://code.sololearn.com/cLe3f28CILH8/?ref=app
+ 1
4500-3200 BC :)
https://code.sololearn.com/cQ9KJF5wjuzZ/#java
0
https://code.sololearn.com/cJOB8la3VeTv/?ref=app
not quite a pyramid more a ramp ☺