Browse Source

factorial Funktion header

remotes/origin/Abdelrahman
Abdelrahman 11 months ago
parent
commit
7c0acfe344
  1. 3
      src/c/funktionen.h

3
src/c/funktionen.h

@ -25,4 +25,7 @@ float naturalLogarithm(float x);
// Function to calculate the exponentiation of a number to the power of another number // Function to calculate the exponentiation of a number to the power of another number
float power(float x, float y); float power(float x, float y);
// Function to calculate the factorial of a number
int factorial(int x);
#endif #endif
Loading…
Cancel
Save