cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Is my code well written? What should I d
Page 2
Is my code well written? What should I do next?
Pages:
1
2
May 17, 2017 at 5:16pm
May 17, 2017 at 5:16pm UTC
lastchance
(6980)
My meaning wasn't very clear. The factorial function itself doesn't exist for negative integers (it would actually be infinite), irrespective of what the OP has coded.
Topic archived. No new replies allowed.
Pages:
1
2