From 7d7d03f872c406faa72ea256aadaad9feb776247 Mon Sep 17 00:00:00 2001 From: INNA Date: Thu, 8 Feb 2024 12:32:54 +0100 Subject: [PATCH] =?UTF-8?q?Hinzuf=C3=BCgen=20der=20Subtraktionsfunktion=20?= =?UTF-8?q?subint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/subtraktion.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/subtraktion.c b/src/subtraktion.c index d4c4795..7fe4e69 100644 --- a/src/subtraktion.c +++ b/src/subtraktion.c @@ -7,3 +7,7 @@ double subdouble(double zahl1, double zahl2) { return zahl1 - zahl2; } + +int subint(int zahl1, int zahl2) { + return zahl1 - zahl2; +}