View Single Post
Join Date: Dec 2007
Posts: 17
Reputation: cherryteresa is an unknown quantity at this point 
Solved Threads: 0
cherryteresa cherryteresa is offline Offline
Newbie Poster

Re: How to Sum a Pascal Triangle

 
0
  #3
Dec 3rd, 2008
Thanks. I actually just now figured out how to make the triangle print properly. I kept trying to add +1 in different places before. And then I realized, woops - I should have made it <= (less than or equal to) instead of < (less than)
for (int y = 0; y <= x; y++)

But I'm still having issues with the sum.
Last edited by cherryteresa; Dec 3rd, 2008 at 4:33 pm.
Reply With Quote