Write an algorithm for generation of Pascal triangle.
Answers
Answered by
1
Both the algorithm and flowchart are generate Pascal's triangle in standard format as per the number of rows entered by the user. Pascal's Triangle is a system of numbers arranged in rows resembling a triangle with each row consisting of the coefficients in the expansion of (a + b)n for n = 0, 1, 2, 3.
Similar questions
Physics,
6 months ago
English,
6 months ago
Computer Science,
1 year ago
Biology,
1 year ago
Science,
1 year ago