...

/

Example 40: Pascal's Triangle

Example 40: Pascal's Triangle

Learn how to print a Pascal's triangle.

We'll cover the following...

Problem

Write a program to generate Pascal’s triangle pattern shown below:

11

1   11 \space\space \space 1 ...

Access this course and 1400+ top-rated courses and projects.