Pascal's triangle :-
In mathematics, Pascal's triangle is a triangular array of the binomial coefficients. In much of the Western world it is named after French mathematician Blaise Pascal, although other mathematicians studied it centuries before him in India, Iran, China, Germany, and Italy.

Output:
Enter The No. Of Terms You Want To Print: 6
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
need an explanation for this answer? contact us directly to get an explanation for this answer