Ah that triangle program again! I've seen it so many times. You could pretty much search the java forum here @ codeguru and find the same problem WITH supporting source code. There are several ways to go about doing this. Just take it step by step. I can guarantee you that your algorithm will be totally different from someone elses. Of course, you will probably embed this in some kind of loop. First, I suggest you write the loop the best way you know how, then read each statement within the loop as if YOU were the compiler. Helps a bunch in the long run. Really, it is just basic math though. No tricky java syntax. The most complex java thing that you will probably use is the for-loop. If you understand what a for loop is, then you should be fine =)
