Browse Source

power Funktion

remotes/origin/Abdelrahman
Abdelrahman 11 months ago
parent
commit
8e81097101
  1. 5
      src/c/funktionen.c

5
src/c/funktionen.c

@ -52,3 +52,8 @@ printf("Error: Invalid input for natural logarithm!\n");
return 0; return 0;
} }
} }
// Function to calculate the exponentiation of a number to the power of another number
float power(float x, float y) {
return pow(x, y);
}
Loading…
Cancel
Save