CPP Program to Print a Pascal Triangle

# Introduction In this lab, we will learn how to program in C++ to print a Pascal triangle. A Pascal's triangle is a triangular array of binomial coefficients. The triangle can be formed by using the coefficients as the entries. Pascal's triangle can be used to calculate combinations and calculate binomial expansion. In this lab, we will learn how to create a C++ program that can be used to print the Pascal triangle.

|60 : 00

Click the virtual machine below to start practicing