Browse Source

starting point

remotes/origin/Ulrich
Ulriche Nguefack 11 months ago
parent
commit
47878b7c75
  1. 7
      src/main/c/Calculator/calculator.c
  2. 2
      src/main/c/Quiz/top.h

7
src/main/c/Calculator/calculator.c

@ -0,0 +1,7 @@
#include <stdio.h>
// Function prototypes
void displayMenu();
int add(int num1, int num2);
int subtract(int num1, int num2);
int multiply(int num1, int num2);

2
src/main/c/Quiz/top.h

@ -1,7 +1,7 @@
#ifndef TOP_H #ifndef TOP_H
#define TOP_H #define TOP_H
void quiz();
struct Frage erstelleFrage(char *text, char *antwort1, char *antwort2, char *antwort3, int korrekteAntwort); struct Frage erstelleFrage(char *text, char *antwort1, char *antwort2, char *antwort3, int korrekteAntwort);
#endif //TOP_H #endif //TOP_H
Loading…
Cancel
Save