Pascal triangle is a like a simple diagram that contain some rules and logic. It's figure are shown above.
- first element of all row is 1.
- last element of all row is same as starting element.
- second last element of all row is same as second element and so on.
- a[2,1]=a[1,0]+a[1,1]; for second row second element.
- a[3,1]=a[2,0]+a[2,1]; for third row second element,a[3,2]=a[2,1]+a[2,2]; for third row third element and so on.
If you want it's program in any language then reply me.
These is a good...
ReplyDeleteThanks for sharing the Information about Programming and Oracle. This blog explains very elobrately of Pascal triangle through a diagram with some rules and logic.
ReplyDeletesap upgrade tool