Browse Source

cube funktion

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

5
src/c/funktionen.c

@ -17,4 +17,9 @@ return 0;
} }
} }
// Function to calculate the cube of a number
float cube(float x) {
return x * x * x;
}
Loading…
Cancel
Save