How does one represent n! in C++?
There's got to be a more direct way than creating a loop.
If it's relavant to the answer, I am creating templates for calculating probability density functions. I am aware that I can calculate these in Excel using built in functions but what fun would that be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.