Question: I have a program that creates Pascal's triangle, but I'm not too sure what the Pascal function does. Would anyone be able to explain the

 I have a program that creates Pascal's triangle, but I'm not

I have a program that creates Pascal's triangle, but I'm not too sure what the Pascal function does. Would anyone be able to explain the first half of the function?

Project Run Window Help ?||[e square.cpp |[elab430.cpp |D : TriThree.cppl ''''wo.(pp |?TriThree.cpp2.3 2?// Name 9 Winclude 10 using namespace std 11e void Pascal (int rows) i++)( i=0; int val-1: for for (int 12 13 ??rows; (int j=1; j?(rows-1); j++){ 15 16 17 18 19 20 21 coutx; Pascal (x) return 0: Tasks ?Console X-Properties C/C+ + Application Eproblems) ?terminated-TrThree exe Number of rows: 6 C: Usersics102 workspace nTnThreeDebugTnThree. exe 10 10 Writable Smart Insert

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!