sir if i m giving input upto 15 , my code is working
but for large no it is not.
please help me out how can i fix this broken calculator for large value of n ?
Broken calculator
how can i calculate for larger no
Note that the question asks for factorial of larger numbers, and even for relatively smaller numbers the value of factorial quickly overflows.
For example, 100! has 157 digits!!!
So, you can’t use the traditional approach, either use python or something or implement your own multiplication using array.