No, that's not right. When you evaluate Factorial(5), the Factorial program will try to return 5*Factorial(4). Which will call Factorial again. And so on.

You may go back to the question

You may also:

NEXT     Skip to the next section.

OUTLINE  Go up to the outline of lesson 17

David A. Wheeler (dwheeler@dwheeler.com)

The master copy of this file is at "http://www.adahome.com/Tutorials/Lovelace/s17s2r1.htm".