Project 31: Permutations and Combinations

Project 31: The variables 'n' and 'k' are initialized.  There is also a working method called factorial.

factorial(n) returns the value of n!

Example: factorial(4) returns 24

Task: Appropriately initialize the variables 'perm and 'comb' that represent nPk and nCk, respectively.

**If your code works for 5 test cases in a row, you can enter your e-mail address.