Pattern

Diamond Pattern Using Numbers

Program code: #include<iostream> using namespace std; void display(int n) { int space = n / 2, num= 1; for (int…

2 years ago

Floyd’s Triangle

Floyd’s triangle is a triangular array of natural numbers and it is named after Robert Floyd, a renowned computer scientist popularly…

2 years ago

Pascals triangle

Pascals triangle is a triangular array of binomial coefficients. The numbers outside Pascals triangle are all "0". These "0s" are…

2 years ago

Christmas Tree Pattern

C++ programming using "*" for Christmas Tree Pattern Program code: #include<iostream> using namespace std; int main() { int width, height,…

2 years ago