Results 1 to 2 of 2
  1. #1
    Meta is offline Member
    Join Date
    Mar 2010
    Posts
    78
    Rep Power
    0

    Default Binary Tree output help

    i have this program, that takes numbers. how can i make it take a string of characters and display it like this:

    +
    + e
    + d
    + c
    a b

    but it looks like a tree, i dunno how to show u in this textbox

    http://pastebin.com/W1XHQCAt
    Last edited by Meta; 03-29-2011 at 07:26 PM.

  2. #2
    Zack's Avatar
    Zack is offline Senior Member
    Join Date
    Jun 2010
    Location
    Destiny Islands
    Posts
    692
    Rep Power
    5

    Default

    Add [code] tags around the tree output you want. This will preserve spaces and tabs.

Similar Threads

  1. Full binary tree
    By Igorock in forum New To Java
    Replies: 5
    Last Post: 12-23-2010, 02:43 PM
  2. binary tree
    By ryamz in forum New To Java
    Replies: 2
    Last Post: 08-12-2010, 02:45 AM
  3. Replies: 0
    Last Post: 04-04-2010, 07:40 AM
  4. Binary Tree
    By MuslimCoder in forum New To Java
    Replies: 8
    Last Post: 11-19-2009, 05:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •