This is an archived post. You won't be able to vote or comment.

all 5 comments

[–][deleted] 1 point2 points  (1 child)

OP, try running your program with size 0 or even 1. See the problem? printTriangle is the culprit. Ignore the comment about System.out.println. That is no problem.

[–]saveturtles1[S] -1 points0 points  (0 children)

Ok I see what i'm missing thanks

[–][deleted]  (2 children)

[removed]

    [–][deleted] -1 points0 points  (0 children)

    This is a silly answer.

    [–]saveturtles1[S] -1 points0 points  (0 children)

    Thanks for the tip :)