Browse Source

Added ask question function

main
fdlt3885 2 years ago
parent
commit
8f33ed93fc
  1. 21
      src/main/quizproject.c
  2. 2
      src/main/quizproject.h

21
src/main/quizproject.c

@ -63,6 +63,25 @@ void displayInstructions(void) {
displayWelcomeMessage();
}
void ask_questions(void) {
char qS[][100] = { //5
"What is the name of the tallest mountain in the world?\n"
};
char qC[][100] = {//6
"A.Mount Everest\nB.Uludag\nC.K2\nD.Makalu"
};
char aS[100] = {
'A'
};
}
@ -77,7 +96,7 @@ int main(){
var = getchar();
}
printf("\n");
ask_questions();
return 0;
}

2
src/main/quizproject.h

@ -6,5 +6,5 @@ void displayGameInstructions(char name[]);
void displayLifelineInstructions(void);
void displayInstructions(void);
void displayGoodLuckMessage(void);
void ask_questions(void);
#endif
Loading…
Cancel
Save