I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
Index »

Problem with this Code

bradjb911\′s Photo
23 Apr 09, 4:28PM
Problem with this Code
Hello, So the code works great unless you want to try something like n choose k, or n choose 0. At which point the program returns undefined or infinite values instead of the answer 1. Simple if loops will fix it or else consider fixing the factorial sub-function itself.
Currently you need to be logged in to leave a message.