{I+=codeWee;}
[C++] Math: Factorial Function
// n must be bigger than zero.
UINT64 factorial(UINT64 n)
{
	if (n == 1)
		return 1;
	return n*factorial(n - 1);
}
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.