Frage im Vorstellungsgespräch bei Micro Focus

Implement the factorial algorithm in a non-recursive way.