Page 1 of 1

Write a C program that uses a loop (or loops) to display the Pascal triangle with 9 rows as shown in the above figure. Y

Posted: Mon Jun 06, 2022 6:23 pm
by answerhappygod
Write A C Program That Uses A Loop Or Loops To Display The Pascal Triangle With 9 Rows As Shown In The Above Figure Y 1
Write A C Program That Uses A Loop Or Loops To Display The Pascal Triangle With 9 Rows As Shown In The Above Figure Y 1 (81.29 KiB) Viewed 17 times
Write a C program that uses a loop (or loops) to display the Pascal triangle with 9 rows as shown in the above figure. Your numbers should be saved in a file named pascal after. The numbers must be calculated, not hard coded. The triangle need not to be centered, you can display the triangle this way instead:

1 11 121 13 3 1 14641 1 5 10 10 5 1 16 15 20 15 61 1 7 21 35 35 21 7 1 1 8 28 56 70 56 28 8 1