Results 1 to 2 of 2
  1. #1
    Sumatra is offline Member
    Join Date
    Jan 2012
    Posts
    2
    Rep Power
    0

    Default Print tree using asterisk

    I'm new to Java and I hardly know anything about it. One of my first assignments is to print a tree using asterisk(*) like this:
    *
    * *
    * *
    *** ***

    ***

    I hope that came out right. My question is how do you write an application that prints this out?

  2. #2
    Sumatra is offline Member
    Join Date
    Jan 2012
    Posts
    2
    Rep Power
    0

    Default Re: Print tree using asterisk

    Tree doesn't look like a tree ^ but I hope you know what I mean (triangle shape asterisk tree)

Similar Threads

  1. Java Asterisk Tree
    By Stratgtar565 in forum New To Java
    Replies: 2
    Last Post: 10-12-2011, 05:13 AM
  2. How to replace int with asterisk
    By erin.ctm in forum New To Java
    Replies: 3
    Last Post: 11-12-2010, 11:13 PM
  3. Replies: 0
    Last Post: 07-07-2008, 04:55 PM
  4. asterisk java
    By abhi in forum New To Java
    Replies: 4
    Last Post: 01-22-2008, 07:09 AM
  5. Asterisk-Java 0.3
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 07-02-2007, 08:30 AM

Posting Permissions

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