I know this has been asked 100 times before and I searched the posts but I didn't find the code so I'll ask. How do you write a code that calculates the faculty for n, i.e. n! ?