# Tagged: number

## Python 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 Python programming language. I have already discussed how to check whether a number is...

## Python program to print Floyd’s Triangle (3 Ways)

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

## Python Program to add two Complex Numbers using Class (2 Ways)

In this program, we will learn how to add two complex numbers using the Python programming language. What is a complex number? Complex numbers are numbers that are expressed as a+bi where i is...

## Python Program to Find the LCM of two numbers (3 Ways)

In this program, we will learn how to find the LCM of two numbers using the Python programming language. What is LCM? it stands for Least Common Multiple. It can be found for two...

## C++ Program to Find the LCM of two numbers (3 Ways)

In this program, we will learn how to find the LCM of two numbers using the C++ programming language. What is LCM? it stands for Least Common Multiple. It can be found for two...

## 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 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...