C Practical and Assignment Programs-Printing Pascals Triangle
It is the most common question asked in aptitude and interview.
In this video we are going to write a program to print a Pascal's Triangle. We are going to use nested for loops ie one loop inside another.The full description of question is provided below. Now this program is written in C programming language but will work in C++.Fell free to provide you suggestion.
Q. To print various patterns using loop constructs like:
1 2 1
1 3 3 1
1 4 6 4 1