Please i want to know how to write a programm that will accept any positive integer from the keyboard and display and compute its factorial Thank you. Kingsley
here's the function.. it's up to you to implement it function fact(n) { if (n == 1 || n == 0) { return 1; } else {return n * fact(n-1); } } Code (markup): i didn't check that anywhere but it should work... i hope i'm not doing your homework for you