troubleshooting Question

How to print out a binary tree

Avatar of brich744
brich744 asked on
CC++
19 Comments1 Solution1076 ViewsLast Modified:
Hello Everyone,

I am trying to figure out how can I print a binary tree out in the tree structure.  For example, if I enter in an equation it must print out like this.

       *
      / \
     +   5
    / \
   1   3
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 19 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 19 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros