+ 1
How can we calculate factorial of 100 in java?
do not say traditional method, catch is how to store the ans as no variable has that much limit to store the factorial of 100...
2 Answers
+ 3
There's a class named BigInteger which can hold extremely high values, have a look:
https://code.sololearn.com/cjWatBbnrY97/?ref=app
+ 1
This guy made a Factorial to 100 in python, you can use the same principle in java
https://code.sololearn.com/cC8JpWsSErpY/?ref=app