From 02ad6ca4dc7f51a152f4a441fb975990b7d12d20 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 4 Feb 2024 22:19:52 +0100 Subject: [PATCH] remainderValue Funktion --- src/c/funktionen.c | 4 ++++ 1 file changed, 4 insertions(+) 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); +}