2021年4月4日星期日

How Do I use recursion for Division in Scheme?

I am trying to Define a recursive procedure called (nDivide x y n) with three parameters x, y, and n. It returns the result of x divided by y n times. I have a function that divides (define (Divide x y) (/ x y)). Now I am trying to use the Divide functions in to nDivide and I cant get it to work

https://stackoverflow.com/questions/66947746/how-do-i-use-recursion-for-division-in-scheme April 05, 2021 at 10:55AM

没有评论:

发表评论