solve the pyramid problem in java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tanwar
    New Member
    • Jun 2007
    • 1

    #1

    solve the pyramid problem in java

    *
    * *
    * * *
    * * * *
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by tanwar
    *
    * *
    * * *
    * * * *
    We don't do your homework for you; we can help you though: shows us what
    you have attempted so far and tell us where you got stuck; we might help you out.

    kind regards,

    Jos

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by JosAH
      We don't do your homework for you; we can help you though: shows us what
      you have attempted so far and tell us where you got stuck; we might help you out.

      kind regards,

      Jos
      Jos, is this one of those where the shape is distorted too?

      Comment

      • sateesht
        New Member
        • Apr 2007
        • 41

        #4
        Hi,

        Below is the code which displays your desired Pyramid output.

        <Removed by Admin>
        Cheers,
        Sateesh.
        Last edited by r035198x; Jun 25 '07, 07:08 AM. Reason: Please don't spoon feed

        Comment

        Working...