diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 349fb54..b1ba42c 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -102,3 +102,7 @@ float average(float x, float y) { return (x + y) / 2; } +// Function to calculate the remainder of division between two numbers +float remainderValue(float x, float y) { + return fmod(x, y); +}