Select Page

## C++ Program to Find LCM using GCD

Introduction This program will help you find to find the LCM of two positive numbers. The task is that the user will be asked to enter two integers, and then through this program, the LCM of both numbers will be computed. LCM: Least Common Multiple. A positive integer...

## C++ Program to Find LCM using while loop

Introduction This program will help you find to find the LCM of two positive numbers. The task is that the user will be asked to enter two integers, and then through this program, the LCM of both numbers will be computed. LCM: Least Common Multiple. A positive integer...

## C++ Program to Find GCD (Using while loop for both negative and positive integers)

Introduction This program will help you to find the GCD of two numbers. The task is that the user will be asked to enter two integers, and then through this program GCD of both numbers will be computed. GCD: Greatest common divisor, which is also called as Highest...

## C++ Program to Find GCD (Using while loop)

Introduction This program will help you to find the GCD of two numbers. The task is that the user will be asked to enter two integers, and then through this program GCD of both numbers will be computed. GCD: Greatest common divisor, which is also called as Highest...

## C++ Program to Find GCD (Using for loop)

Introduction This program will help you to find the GCD of two numbers. The task is that the user will be asked to enter two integers, and then through this program GCD of both numbers will be computed. GCD: Greatest common divisor, which is also called as Highest...

## C++ Program to Find Factorial (Using recursion)

Introduction In this program, you will learn to calculate the factorial of a number entered by the user using the process of recursion. The factorial of a positive integer ‘x’ is 1*2*3*4*……..*x. For example, Factorial of 5 is (! is the symbol for factorial): 5!...