Write a recursive function that computes the greatest common divisor of two natural numbers and using the fast version of the Euclidean algorithm.
| C++ | |
| C | |
| Java | |
| Python | |
|
Neither nor are negative, and at least one of them is strictly greater than zero.
You only need to submit the required procedure; your main program will be ignored.
Input/Output