**Enter row number: 4
Sum of numbers in row 5 is 31. Sum of all numbers above 4 is 15.
this should be the output look like..
can someone help me? thanks.
gelmi 1 Newbie Poster
Recommended Answers
Jump to PostThe elements of Pascal's triangle are the statistical combination of the given row and column, if you consider Pascal's triangle as a right triangle.
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
...
Each element of Pascal's triangle is the result of nCr, …
All 3 Replies
Nutster 58 Newbie Poster
gelmi commented: Thanks i'll try it.. +0
green_ning 0 Newbie Poster
gelmi commented: no actually i'm using netbeans.. :) +0
Nutster 58 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.