You are viewing a single comment's thread. Return to all comments →
My Java 8 Solution
public static void extraLongFactorials(int n) { BigInteger result = BigInteger.ONE; for (int i = 1; i <= n; i++) { result = result.multiply(BigInteger.valueOf(i)); } System.out.println(result); }
Seems like cookies are disabled on this browser, please enable them to open this website
Extra Long Factorials
You are viewing a single comment's thread. Return to all comments →
My Java 8 Solution