# Program in C Plus Plus and C with explanation  to find the Greatest Common Division (GCD) with flowchart

## Program in C Plus Plus and C with explanation  to find the Greatest Common Division (GCD) with flowchart

In this tutorial, we will learn about the followings;

1. Flowchart of the program to find the Greatest Common Division (GCD)
2. Program in C Plus Plus with an explanation  to find the Greatest Common Division (GCD)
3. Program in  C with an explanation  to find the Greatest Common Division (GCD)

Flowchart of the program to find the Greatest Common Division (GCD)

Program in C Plus Plus with an explanation  to find the Greatest Common Division (GCD)

Output

Program in  C with an explanation  to find the Greatest Common Division (GCD)

Output

Figure: Program in C Plus Plus and C with an explanation to find the Greatest Common Division (GCD) with the flowchart.

## Greatest Common Factor by using Arrays in C++

Let’s see the program of “Greatest Common Factor by using Arrays in C++”.

Output

Type two numbers

3

2

Greatest Common Multiple is = 1

## Greatest Common Factor by using a do-while loop in C++

Let’s see the program of “Greatest Common Factor by using a do-while loop in C++”.

## Greatest Common Factor by using a for loop in C++

Let’s see the program of “Greatest Common Factor by using a for loop in C++”.

## Greatest Common Factor by using a While loop in C++

Let’s see the program of “Greatest Common Factor by using While loop in C++”.

## Greatest Common Factor by using If Else Statement in C++

Let’s see the program of “Greatest Common Factor by using If Else Statement in C++”.

## Greatest Common Factor by using Switch Statement in C++

Let’s see the program of “Greatest Common Factor by using Switch Statement in C++”.

## Greatest Common Factor by using the User Define Function in C++

Let’s see the program of “Greatest Common Factor by using the User Define Function in C++”.

## Greatest Common Factor by using the Nested If Statement in C++

Let’s see the program of “Greatest Common Factor by using the Nested If Statement in C++”.

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,