You are viewing a single comment's thread. Return to all comments →
It is not necessary to declare i
static void extraLongFactorials(int n) { BigInteger fact=BigInteger.valueOf(1); while(n > 0){ fact=fact.multiply(BigInteger.valueOf(n)); n--; } System.out.println(fact); }
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 →
It is not necessary to declare i