what is the output of the greatest common divisor function gcd (27,12)?


gcd(r,y) = {r, y=0
{gcd(y,r%y),y>0 where r%y is remainder division or modulo

The output of the gcd(27, 12) function would be 3.