[code]public class MathUtils{ //------------------------------------------------------------- // Returns the factorial of the argument given //------------------------------------------------------------- public static int factorial(int n) { if (n < 0) throw new IllegalArgumentException("Integer must be greater than 0"); else if (n > 16) throw new IllegalArgumentException("Integer must less than 17");