|
|
@ -65,6 +65,15 @@ void e_t_f_printQuestions(char askquestion[][100],char answers[]) { |
|
|
|
user_answer = toupper(user_answer); |
|
|
|
} |
|
|
|
} |
|
|
|
bool ans = e_true_false(user_answer); |
|
|
|
if(ans == answers[i]) { |
|
|
|
score++; |
|
|
|
printf("Correct!\n"); |
|
|
|
printf("You have %d score\n\n", score); |
|
|
|
} else{ |
|
|
|
printf("Wrong!\n"); |
|
|
|
printf("You have %d score\n\n", score); |
|
|
|
} |
|
|
|
} |
|
|
|
printf("\t\t---------------------------Round2-----------------------------\n"); |
|
|
|
printf("\t\t >>In this round you will be presented with 2 questions.<<\n"); |
|
|
@ -82,6 +91,15 @@ void e_t_f_printQuestions(char askquestion[][100],char answers[]) { |
|
|
|
user_answer = toupper(user_answer); |
|
|
|
} |
|
|
|
} |
|
|
|
bool ans = e_true_false(user_answer); |
|
|
|
if(ans == answers[i]) { |
|
|
|
score++; |
|
|
|
printf("Correct!\n"); |
|
|
|
printf("You have %d score\n\n", score); |
|
|
|
} else{ |
|
|
|
printf("Wrong!\n"); |
|
|
|
printf("You have %d score\n\n", score); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|