C

Program to Print Pascal’s Triangle in C1 min read

In this example you will learn how to display Pascal’s Triangle

The program below displays the pascal triangle of degree N and stores it in a square matrix M of dimension N + 1.




C Code:

Output:

 

 

Leave a Comment