# Tagged: Recursion

## Python Program to Print the Fibonacci Sequence (2 ways)

In this program, we will learn how to make a python program to print the Fibonacci Sequence. We will be learning two ways to make this program. Printing Fibonacci Sequence using loop Printing Fibonacci...

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

In this program, we will learn how to print Pascal’s Triangle using the Python 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...

## 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 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 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 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 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 Factorial of Number (2 Ways)

In this program, we will learn how to write to Find Factorial of a Number using the C++ programming language. What is Factorial of a Number? Factorial of a non-negative integer n is the...

## Python Program to Find the Reverse of String or Number (6 different ways)

In this article, we discuss will how to write a python program to find the reverse of string or number. We will be discussing a total of 6 ways. Finding reverse of a number...