Recursion Worksheet 2
- Write a recursive function to compute the factorial function: n! =
n*(n-1)*(n-2)*...*3*2*1
- Write a recursive function that writes the digits of a positive
decimal integer in reverse order. (Hint: use % and /)
Email Me |
Office Hours |
My Home Page |
Department Home |
MCC Home Page
© Copyright Emmi Schatz 2008