find if a is a multiple of b only with substractions, recursive definition

前端 未结 0 1413
闹比i
闹比i 2020-12-04 22:12

I need to make a function to return True if a is a multiple of b, and false otherwise.

The thing is I can only use subtractions as this is an exercise on recursive.

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