+ 3
[CHALLENGE]DrawTree
Draw a dynamic tree. The tree should have the n-structure of branch ( triangles). for example if n =4 the tree should have 4 lewels. input 4 output should be something like below. 1 I | 2 /|\ | /|\ 3 //|\\ | /|\ //|\\ 4 ///|\\\ https://code.sololearn.com/cc29DhdCOFGA/?ref=app https://code.sololearn.com/cc29DhdCOFGA/?ref=app
3 Answers
+ 2
https://code.sololearn.com/cBZK87i8hmTw/?ref=app
0
This my try in Ruby :)
https://code.sololearn.com/cLZWw4u0g8Ft/?ref=app
0
https://code.sololearn.com/c93sexWoY6ln/?ref=app