|
@ -67,6 +67,10 @@ void correct(int score2){ |
|
|
printf("\nCorrect!\n"); |
|
|
printf("\nCorrect!\n"); |
|
|
printf("You have %d points now\n\n", score); |
|
|
printf("You have %d points now\n\n", score); |
|
|
} |
|
|
} |
|
|
|
|
|
void wrong(int score1){ |
|
|
|
|
|
printf("\nwrong!\n"); |
|
|
|
|
|
printf("You have %d points now\n\n", score); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void looping(char qS[][100], char qC[][100], char aS[]){// 5 |
|
|
void looping(char qS[][100], char qC[][100], char aS[]){// 5 |
|
@ -85,8 +89,7 @@ void looping(char qS[][100], char qC[][100], char aS[]){// 5 |
|
|
correct(score); |
|
|
correct(score); |
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|
printf("\nwrong!\n"); |
|
|
|
|
|
printf("You have %d points now\n\n", score); |
|
|
|
|
|
|
|
|
wrong(score); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|