Greatest Common Denominator

PHOTO EMBED

Wed Mar 17 2021 04:14:46 GMT+0000 (UTC)

Saved by @tilak #c++

 int gcdYisLargerThanX(int x, int y)
{
  return x==0 ? y : gcd(y%x, x);
}
content_copyCOPY