A program that formats and prints Pascal's triangle by the given number of rows in the desired triangle
Pascal's triangle is a triangular array of the binomial coefficients where each number is the sum of the two directly above it.
See Wikipedia for more info
g++ pascalTriangle.cpp -o pascalTriangle
In Windows type: pascalTriangle.exe
In Unix based OS type: ./pascalTriangle
$: ./pascalTriangle
This is a program that draws a Pascal's Trinagle.
Enter the number of rows to be displayed> 5
You have entered 5. Proceed? (type 'y'-yes, 'n'-no, 'r'-reset): y
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
