Factorial

Hello!

To view this page you need Microsoft Silverlight 3 plug-in.
Silverlight will enable your browser to understand complex Rich Internet Applications.
After installing (~10 seconds), you will be able to view and execute live algorithms.

Click here to download the plugin directly from Microsoft (4 MB)
If you want to learn more about MS Silverlight, take a look at this Wikipedia article.
Output
type in the input above and click 'Execute'
the result will be outputted here
Related Algorithms
Discussion
1
Nice implementation JAnderton. I hope you don't mind that I modified your implementation slightly to make it callable* by external algorithms. What I did is I moved the fact() function to Execute, since all functions must be consolidated in order to enable external calls. For more info see http://www.algorithmatic.com/wiki/display/algorithmatic-reference-manual#heading_0
30 months and one week ago by ANaimi
login to leave a comment
Version 2
Version 2 by JAnderton
+3
Version 3 by ANaimi
+1
Calculates n! for positive and negative numbers with appropriate error handling.

http://en.wikipedia.org/wiki/Factorial
30 months and one week ago
up down

implementations

2 versions available

rated by

3 users - list?

viewed by

8 users - list?

favorited by

0 users - list?

last activity

27 months and one week ago