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 toexplain the first

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

Project Run Window Help C) square.cpp d lab430.cpp le TriTwo.cpp le TriThree.cpp shooting.cp1 2// Name : Shooting.cpp 9?include 10 using namespace std; 1l void Pascal (int rows) t 12 for (inti-0 ;??rows ;i++){ 13 14 15 16 17 18 19 20 21 int val-1: for (int j=1; j?(rows-1); j++){ cout">=i;>

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 Programming Questions!