Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Please Help: Java Triangle using Nested Loops

nested loop loop

  • Please log in to reply
1 reply to this topic

#1 jtiddy

jtiddy

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 19 March 2012 - 06:14 AM

hey -

I'm looking for some help. I need to produce this:

*
**
***
****
*****
******


And then add:

******
*****
****
***
**
*


Can someone help me?:confused:
:confused:
  • 0

#2 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 19 March 2012 - 03:16 PM

Have you searched on the forum? This question has been asked many times, in many languages.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/






Also tagged with one or more of these keywords: nested loop, loop

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download