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 16 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: