...

/

Challenge - GCD of Two Integers Using the <requires> Clause

Challenge - GCD of Two Integers Using the <requires> Clause

Let’s try to solve the GCD problem by using the <requires> clause.

Problem

Write a function that takes two integer numbers as parameters and returns the greatest common divisor (GCD) of two numbers.

Restriction

We can only use a template ...