Browse Source

If incorrect,tells correct ans (v_AllAboutSpace)

main
fdlt3859 2 years ago
parent
commit
31cd3a78d5
  1. 5
      src/main/quizproject.c

5
src/main/quizproject.c

@ -2967,6 +2967,7 @@ void v_allaboutspace(void){
space_score++;
} else {
printf("\nIncorrect\n");
printf("\nThe Correct Answer was 3. Jupiter.\n");
}
}
printf("\nQuestion 2: What is the smallest planet in our solar system?\n\n");
@ -2981,6 +2982,7 @@ void v_allaboutspace(void){
space_score++;
} else {
printf("\nIncorrect\n");
printf("\nThe Correct Answer was 1. Mercury. Pluto is a dwarf planet.\n");
}
printf("\nQuestion 3: What is the name of the first man-made satellite to be launched into space?\n\n");
@ -2995,6 +2997,7 @@ void v_allaboutspace(void){
space_score++;
} else {
printf("\nIncorrect\n");
printf("\nThe Correct Answer was 1. Sputnik 1.\n");
}
printf("\nQuestion 4: What is the name of the first man to walk on the Moon?\n\n");
@ -3009,6 +3012,7 @@ void v_allaboutspace(void){
space_score++;
} else {
printf("\nIncorrect\n");
printf("\nThe Correct Answer was 1. Neil Armstrong.\n");
}
printf("\nQuestion 5: What is the name of the first successful interplanetary probe?\n\n");
@ -3023,6 +3027,7 @@ void v_allaboutspace(void){
space_score++;
} else {
printf("\nIncorrect\n");
printf("\nThe Correct Answer was 1. Pioneer 10.\n");
}
printf("\nYour score is: %d\n\n", space_score);

Loading…
Cancel
Save