MAQ Software Interview Question

Factorial without using recursion