Results 1 to 4 of 4

Thread: Help!

Hybrid View

  1. #1
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Here you get half a pyramid.
    Code:
    class Builder {
      public static void main(String[] args){
      
      StringBuffer sb = new StringBuffer(); 
      for(int i = 0; i < 15; ++i){
       sb.append(i); 
       System.out.println(sb);
      }
     }
    }

Posting Permissions

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



Click Here to Expand Forum to Full Width