By Bhavesh Pant

There are 5 separate codes in this project: 1) Normal pyramid using numbers 2) Half pyramid using numbers 3) Inverted half pyramid using numbers 4) Pascal's triangle 5) Floyd's triangle

In this project, we will discuss different number patterns that can be implemented using the C + + programming language.

There is a large number of patterns that can be implemented using the C + + programming language. For example; rhombus, zig-zag pattern, star pyramids, etc. In this project, we have discussed some of the basic number patterns:

1) A normal number pyramid: The user provides the number of rows of the pyramid, and the program prints the output accordingly.

2) Half pyramid using numbers: The user provides the number of rows of the half pyramid, and the program prints the output accordingly.

3) Inverted half pyramid using numbers: The user provides the number of rows of the inverted half pyramid, and the program prints the output accordingly.

4) Pascal's Triangle: It is one of the most famous number patterns. It is a triangular array of binomial coefficients. Similar to the above programs, the user provides the number of rows, and the program prints the output accordingly.

5) Floyd's Triangle: It is a number pattern in which a triangle is formed with the first natural numbers. Similar to the above programs, the user provides the number of rows, and the program prints the output accordingly.

Submitted by Bhavesh Pant (pantbhavesh117)

Download packets of source code on Coders Packet

## Comments