Question: Tree Structures (Nested loops) Summarv Write a program that draws two tree like structures-- a flat rectangular shaped tree and an Xmas- style tree. The

Tree Structures (Nested loops) Summarv Write a program that draws two tree like structures-- a flat rectangular shaped tree and an Xmas- style tree. The program TreeStructures.java asks the user for the height of a tree and uses the height information to draw the trees. It draws a rectangle/triangle to display the top portion of the tree, followed by a rectangle to represent the trunk the tree. For e.g., How tall should the top of the tree be? 5 Flat Tree: Xmas Tree
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
