Extreme Networks Interview Question

Factorial program in both first class and with recursion.