Write a function to compute a factorial n
Anonymous
Iterative: for (ii=1; n > 0; n--) ii = ii * n; return(ii); Could be to get rid of the (1 * n) iteration when ii = 1: for (ii=1; n > 1; n--) ii = ii * n; return(ii);
Check out your Company Bowl for anonymous work chats.