hi
i want to display pascals triangle on computer screen.the pascals triangle
goes like this. and what is logic.
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1 and so on.
let us c 0 Newbie Poster
Recommended Answers
Jump to PostFirst logic feature to see is that it is always symmetric about the central value in one sequence, so you will probably just need to store or compute one half of each row (from start to middle) and repeat in reverse for the remainder of the row (taking into account …
Jump to PostI believe you can use the coefficient formula.
All 5 Replies
ganesh 0 Newbie Poster
iamboredguy 0 Newbie Poster
manali04 0 Newbie Poster
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
sunyifei23 0 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.