Recursive factorial function

Recursive factorial function

In this programming assignment, you are asked to simulate the recursive factorial function given in the class. Your program is to be a nonrecursive version of the factorial function implemented using a stack.

Your program also should show the stack contents along with the calls,

their parameter returns and the return value in order to show the execution of the non-recursive function. That is, for each call, your GUI should show the call with its’ parameter values, for each return it should show the value returned along with the changes in the stack similar to what we did in the class. The quality of your GUI will greatly influence your homework score.

You are required to submit the following: 

1. Source code with proper comments

2. Sample output

Powered by