Here we written code for print pascal triangle with output.
For improvement of your coding skills we give some tasks along this. If you solve this tasks and send to our email (firstname.lastname@example.org) with your details. we will display your details(like Name, City, college, photo) in our site.
Task : Write a c program to print nth line of pascal triangle.
Write a C Program to print Pascal Triangle.
printf(“Enter no.of lines want : “);
Enter no.of lines want : 5
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1