How would you write a non-recursive algorithm to compute n!?
n!
Pseudo code
total = 1 For i = 1 To n total *= i Next