# Author: Amit Rawat

## C++ Program to Print Triangle, Reverse Pyramid, and Diamond Patterns using stars

In this program, we will learn how to print Triangle, Reverse Pyramid, and Diamond patterns using stars in C++ programming language. C++ Programming Code to Print Triangle Pattern using stars Code:- Output:- Enter the...

## C++ Program to Check if a Number is a Perfect Number (2 Ways)

In this program, we will learn how to check if a number is a Perfect number or not using the C++ programming language. What is a Perfect Number? It’s a number which has the...

## C++ Program to convert a Number from Decimal to Binary (4 Ways)

In this program, we will learn how to convert a number from decimal to binary using C++ programming language. We will be discussing four ways to code it. Using an array Without using an...

## C++ Program to Display or Print Prime Numbers Between a Range or an Interval

In this program, we will learn how to display or print the Prime Numbers between a given range using the C++ programming language. I have already discussed how to check whether a number is...

## C++ Program To Print Pascal’s Triangle (2 Ways)

In this program, we will learn how to print Pascal’s Triangle using the C++ programming language. What is Pascal’s Triangle? In mathematics, It is a triangular array of the binomial coefficients. It is named after the French mathematician Blaise Pascal. We...

## C++ program to print Floyd’s Triangle (2 Ways)

In this program, we will learn how to print Floyd’s Triangle using the C++ programming language. What is Floyd’s Triangle? It is a right-angled triangular array of natural numbers which is named after Robert...

## C++ Program to Check Armstrong Number (3 Ways)

In this program, we will learn how to check whether a number is Armstrong Number or not using C++ programming language. What is Armstrong Number? It is a number whose sum of the nth power of...

## C++ Program to Find GCD or HCF of two numbers (4 Ways)

In this program, we will learn how to find the GCD or HCF of two numbers using the C++ programming language. The full form of GCD is ” Greatest Common Divisor”. Which means the greatest common factor...

## C++ Program to Check Whether a Number or String is a Palindrome or not (5 Ways)

In this program, we learn how to check whether a number or string is a Palindrome or not using C++ programming language. What is Palindrome? It is a string or number which is when...

## C++ Program to Find ASCII Value of a Character

In this program, we will discuss how to find the ASCII value of a character using the C++ programming language. What is ASCII value? It stands for American Standard Code for Information Interchange which...