+ 5
Find factorial of no. More than 100
If I enter 100 than it should give factorial of it
5 odpowiedzi
+ 7
Hmmm... got it going for Python:
https://code.sololearn.com/cqfl1nmGprm4/?ref=app
+ 5
my code in ruby: https://code.sololearn.com/c2c0x5AmRpOS/?ref=app
+ 4
50! is approximately 3*10⁶⁴
Factorial is hard to handle with high numbers.
+ 1
Slightly less trivial in c++
https://code.sololearn.com/cCRxK7J6t5RX/?ref=app
0
you should use "long long" ===> display screen full