Browse Source

refactoring: Anpassen der Header-Datei

remotes/origin/Pascal
Pascal Schneider 11 months ago
parent
commit
e67512eafb
  1. 4
      src/timequiz.h

4
src/timequiz.h

@ -3,8 +3,8 @@
void timequiz(); void timequiz();
int getRandomQuestionIndex(int askedQuestions[], int totalQuestions); int getRandomQuestionIndex(int askedQuestions[], int totalQuestions);
void displayQuestion(char* question, char* answers[], int correctIndex);
void processUserAnswer(int userAnswer, int correctIndex, int* score, int* totalCorrectAnswers, char* answers[]);
void displayQuestion(const char* question,const char* answers[], int correctIndex);
void processUserAnswer(int userAnswer, int correctIndex, int* score, int* totalCorrectAnswers,const char* answers[]);
int isValidAnswer(int userAnswer); int isValidAnswer(int userAnswer);
#endif //ende TIMEQUIZ_H #endif //ende TIMEQUIZ_H
Loading…
Cancel
Save