Webeduclick.com
Computer Science Tutorials
Algorithm fnFact(n) { if(n<0) return -1; if(n==1 || n==0) return 1; else return (n*fnFact(n-1)); } // End of Algorithm