I am trying to find the numbers till 100! (factorial) but after 20! it gives an error as the value is too large to handle. How can I store such a
100!
20!
How would you do it on paper? Doing multiplications with numbers 160-digits long is not that hard for a computer.
Try writing your own function or use an existing library.