Code Review

Compare your solutions

    #| BEGIN (Write your solution here) |#
(define (make-accumulator sum)
    (lambda (val)
        (begin
            (set! sum (+ sum val))
            sum
        )
    )
)
#| END |#