Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
This program aims at calculating the GCD of n numbers by division method. More...
#include <iostream>
Functions | |
int | gcd (int *a, int n) |
int | main () |
This program aims at calculating the GCD of n numbers by division method.
int gcd | ( | int * | a, |
int | n ) |
Compute GCD using division algorithm
[in] | a | array of integers to compute GCD for |
[in] | n | number of integers in array a |
int main | ( | void | ) |
Main function