My recursive greatest common denominator function isn't working properly

前端 未结 0 370
刺人心
刺人心 2021-01-15 17:09

I\'m trying to create a GCD (greatest common denominator) function using recursion. I cannot understand why it isn\'t working properly. For input 10 and 50 is returning 36.<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题