From 47878b7c75801721bc3bd0ce7e623c91cd4bdb3a Mon Sep 17 00:00:00 2001 From: Ulriche Nguefack Date: Mon, 5 Feb 2024 19:31:19 +0100 Subject: [PATCH] starting point --- src/main/c/Calculator/calculator.c | 7 +++++++ src/main/c/Quiz/top.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/main/c/Calculator/calculator.c diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c new file mode 100644 index 0000000..b6b6010 --- /dev/null +++ b/src/main/c/Calculator/calculator.c @@ -0,0 +1,7 @@ +#include + +// Function prototypes +void displayMenu(); +int add(int num1, int num2); +int subtract(int num1, int num2); +int multiply(int num1, int num2); \ No newline at end of file diff --git a/src/main/c/Quiz/top.h b/src/main/c/Quiz/top.h index ffa37aa..291481a 100644 --- a/src/main/c/Quiz/top.h +++ b/src/main/c/Quiz/top.h @@ -1,7 +1,7 @@ #ifndef TOP_H #define TOP_H -void quiz(); + struct Frage erstelleFrage(char *text, char *antwort1, char *antwort2, char *antwort3, int korrekteAntwort); #endif //TOP_H