Homework 1
Due: February 16, 2004
Do exercise 1.13, p. 18.
Do exercise 1.5, p. 13.
Exercise 1.x1: Write a procedure equivalent to the following, but using only a single
if
expression:
(define diff (lambda (x y) (if (> x y) (- x y) (if (< x y) (- y x) 0))))
Do exercise 2.17, pp. 43-44.
Back to
MCS 177
home page