[plt-scheme] multiply-by-pi HTDP 11.5.2

From: Prabhakar Ragde (plragde at uwaterloo.ca)
Date: Tue Jun 20 15:17:50 EDT 2006

plt-scheme-request at list.cs.brown.edu wrote:
> http://www.htdp.org/2003-09-26/Book/curriculum-Z-H-15.html#node_sec_11.5
> 
> I can only solve this problem by using + for  the recursion. because my add 
> function only works when at least one of the inputs is a natural number - 

That's okay. The question doesn't ask you to eliminate + from 
multiply-by-pi, only from multiply. --PR


Posted on the users mailing list.