![]() |
TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
|
Compute the greatest common denominator of two integers using recursive form of Euclidean algorithm. More...
#include <iostream>Go to the source code of this file.
Functions | |
| int | gcd (int num1, int num2) |
| int | main () |
Compute the greatest common denominator of two integers using recursive form of Euclidean algorithm.
Definition in file gcd_recursive_euclidean.cpp.
| int gcd | ( | int | num1, |
| int | num2 ) |
algorithm
Definition at line 14 of file gcd_recursive_euclidean.cpp.
| int main | ( | void | ) |
Main function
Definition at line 42 of file gcd_recursive_euclidean.cpp.