C program to print pascal triangle

By: Editorial Staff | Last Updated: | In: C Programming Tutorial


Today, we are going to share a C program to print pascal triangle with the output. If you are a beginner and want to start learning the C programming, then keep your close attention in this tutorial as we are going to share a C program to print pascal triangle.

We have designed this program for beginners for learning purpose. Copy below c program and execute it with c compiler to see the output of the program.

Please enter number of rows you would like to see in pascal triangle
6
Pascal Triangle pattern:
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1

Share this post!


About: Editorial Staff

Editorial Staff at FreeWebMentor is a team of professional developers leads by Prem Tiwari