quotient, which is a procedure built in to Scheme. The
quotient procedure divides one integer by another,
but returns only the quotient, ignoring the remainder. For example,
(quotient 2718 10) evaluates to 271, because 271 is the
number of times 10 goes into
2718. Your task is to list the
steps in evaluating (round-down 2718), using the same
format as at the bottom of page 26 in your textbook.
(define round-down
(lambda (n)
(if (< n 10)
n
(* (round-down (quotient n 10))
10))))
Instructor: Max Hailperin