You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Study-HTDP
OK ; product-from-minus-11 . consumes an integer >= -11 and
produces the product of fall the integers between -11 (exclu) and
n (inclusive).
My question is : as you go through 0 while recursing on n then
the product becomes 0. I think i will treat as a factorial and treat
0 as 1 as i march through the recursion. How have others treated
this problem?
thanks, mike
Grant Rettke
unread,
Mar 23, 2009, 9:27:49 PM3/23/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Study-HTDP
On Mar 23, 8:12 pm, mike <anesw...@mac.com> wrote:
> How have others treated this problem?
I took it to mean no special treatment and assumed that 0 is an
integer with which to compute the product.