#include "calculateFactorial.h" // Function for Factorial with integer int calculateFactorial_integer(int n) { if (n < 0) { } else if (n == 0 || n == 1) { return 1; } else { int result = 1; for (int i = 2; i <= n; ++i) { result *= i; } return result; } return 0; }