I'm making a function that multiplies all numbers between an "a" input and a "b" input with
do loop. If you please, check my function and say what's wrong since I don't know loops very well in Scheme.
(define (pi-function x y) (let ((result y)) (do ((limI x (+ x 1))) ((= limI y) result) (set! result (* result limI)))))