0

I want a code to draw a tree....How can I make that??

28th Apr 2018, 8:10 AM
Great Dream
Great Dream - avatar
7 Answers
+ 4
Split into two parts. One part as an isosceles triangle, and the other part as the trunk (an elongated rectangle). A for loop can help with both. With the triangle, you increment a value in the for loop each loop, which represents the number of characters to print out for the triangle. You also have to centre everything you're printing. Good luck â˜ș
28th Apr 2018, 8:34 AM
Emma
+ 2
Yes Niush sitaula. Something like that, using for loops.
28th Apr 2018, 8:56 AM
Emma
+ 1
oh thank you...I will try to do that✌
28th Apr 2018, 9:39 AM
Great Dream
Great Dream - avatar
0
You sure this is the app you were looking for? Jokes apart you can't really draw in c++.
28th Apr 2018, 8:19 AM
Akib
Akib - avatar
0
you didn't get it...Iwant to make a shape of tree...not to draw exactly😅
28th Apr 2018, 8:29 AM
Great Dream
Great Dream - avatar
0
Sorry, i am terrible at patterns.😅
28th Apr 2018, 8:47 AM
Akib
Akib - avatar
30th May 2018, 11:05 AM
B.M
B.M - avatar