HW14, part e


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]

Posted by John on July 31, 2000 at 19:12:40:

part e says: "How many recursive calls will...."

My question is whether we should count the first call too, or just the ones that are called BY the function itself.

Example:
Say Power2 for 4^2, while executing, calls itself at various points 17 times. Should we then say there were 17 recursive calls, or say there were 18, since we need to count the original Power2( 4, 2) call?

-John


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]