Coding in poem: Input an integer n For i from 2 to n, then: If n mod i is none Print out "We are done" Else do the for loop again
@mathgrant OK
New:
Factorial (integer num) {
If num is nonzero then run:
Recurse and then print
Product of the int
times factorial(num-1)}
-
-
@Jack_L_Lance What's factorial(0)?Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.