五、 The recursive definition to find the greatest common divisor of two integers is shown in the
following: (10 分)
gcdሺ?, ?ሻ ൌ൜ ? if ? ൌ 0 gcdሺ?, ? mod ?ሻ otherwise
1. Please write both recursive and iterative programs according to the above definition.