Write a program to determine whether n is a factorial number or not. A factorial number is a number that is a factorial of another number.
Answers
Answered by
0
Answer:
It is wasteful calculating factorials continuously like that since you're duplicating the work done in x! when you do (x+1)!, (x+2)! and so on.
Similar questions
Math,
6 months ago
Computer Science,
6 months ago
Science,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Physics,
1 year ago