+ 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

24th Jan 2018, 4:58 PM
Dominik Dudek
Dominik Dudek - avatar
3 Answers
+ 2
https://code.sololearn.com/cBZK87i8hmTw/?ref=app
26th Jan 2018, 2:36 PM
capsloth
capsloth - avatar
24th Jan 2018, 5:30 PM
Jente
0
https://code.sololearn.com/c93sexWoY6ln/?ref=app
29th Jan 2018, 11:40 PM
Daniel
Daniel - avatar