From a1a0c680d5d6ba5c987d6cd3196908b2a6bdff7b Mon Sep 17 00:00:00 2001 From: fdai7731 <yasin.al-satouf@informatik.hs-fulda.de> Date: Thu, 8 Feb 2024 01:53:49 +0100 Subject: [PATCH] include lib --- src/main/c/Mathe.c | 10 ++++++++++ src/main/c/Mathe.h | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src/main/c/Mathe.c create mode 100644 src/main/c/Mathe.h diff --git a/src/main/c/Mathe.c b/src/main/c/Mathe.c new file mode 100644 index 0000000..2a36dd9 --- /dev/null +++ b/src/main/c/Mathe.c @@ -0,0 +1,10 @@ +//1 +#include <stdio.h> +#include <stdlib.h> +#include <time.h> +#include "Mathe.h" + + + + + diff --git a/src/main/c/Mathe.h b/src/main/c/Mathe.h new file mode 100644 index 0000000..f5bb425 --- /dev/null +++ b/src/main/c/Mathe.h @@ -0,0 +1,10 @@ +#ifndef TEST_H +#define TEST_H +int berechneErgebnis(int zahl1, int zahl2, char operator); +int generiereZufallszahl(int min, int max); +int multipliziere(int zahl1, int zahl2); +int dividiere(int zahl1, int zahl2); +int addiere(int zahl1, int zahl2); +int subtrahiere(int zahl1, int zahl2); +int multipliziere(int zahl1, int zahl2); +#endif // MATHEMATIKSPIEL_H \ No newline at end of file