Reading: SICP (Structure and Interpretation of Computer Programs), Section 1.2.1
Scan DrScheme online help to understand the two part DrScheme window and
the "language levels" setup.
Homework exercises (Due at start of lab 19 Feb 01):
(define (least-digit n) (remainder n 10))
(define (higher-digits n) (quotient n 10))
For a positive integer n, (least-digit n) returns the unit's digit of n, and (higher-digits n) returns the other digits of n. Thus for n = 1234567, (least-digit n) is 7 and (higher-digits n) is 123456. Write a Scheme procedure, call it digit-sum, to compute the sum of the digits of a number.