Given numrows, generate the first numrows of pascals triangle.
Answers
Answered by
0
Answer:
is a triangular array of the binomial coefficients. Write a function that takes an integer value n as input and prints first n lines of the Pascal’s triangle. Following are the first 6 rows of Pascal’s Triangle.
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
Mark me brain list
Similar questions