[plt-scheme] Critical Question for HTDP ex 11.4.6

From: Carl Eastlund (cce at ccs.neu.edu)
Date: Sat Sep 1 21:07:26 EDT 2007

Nabeel, I can't speak for the authors but I'll try to answer your question.

First, a link to the problem online (same text as what you copied, but
more compact in email):

On 9/1/07, Nabeel Zaidi <n000_k at hotmail.com> wrote:
> Could someone please clarify specifically if:
> 1.  the problem is asking to tabulate values from 0 to n and expecting only
> one variable input form the user
> 2.  the problem is asking to tabulate values form 0 to n and allowing two
> variable inputs from the user (which is the case with the surrounding
> problems 11.4.5 & 11.4.7)
> 3.  the problem is asking to tabulate values from n to 20 which
>                a)  is what the last explanation in the forum seems to
> indicate
>                b)  then is easier to understand why it's asking for only one
> variable input
> 4.  there is something I am missing or misunderstanding.

The way I read it certainly suggests number 3 above.  If the new
definition of numbers presented in the problem is either 20, or
something progressively lower than 20, then the natural recursion that
falls out of that is a tabulation of values from any given n-below-20
up to 20.  If you build a template for the solution from the data
definition given in the problem, there should be only one way to solve
it.  I hope that helps.

Carl Eastlund

Posted on the users mailing list.