|
@ -2986,6 +2986,20 @@ void v_allaboutspace(void){ |
|
|
} else { |
|
|
} else { |
|
|
printf("\nIncorrect\n"); |
|
|
printf("\nIncorrect\n"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
printf("\nQuestion 5: What is the name of the first successful interplanetary probe?\n\n"); |
|
|
|
|
|
printf("1. Pioneer 10\n"); |
|
|
|
|
|
printf("2. Mariner 2\n"); |
|
|
|
|
|
printf("3. Viking 1\n"); |
|
|
|
|
|
printf("4. Luna 1\n"); |
|
|
|
|
|
printf("Enter your answer: "); |
|
|
|
|
|
scanf("%d", &space_answer); |
|
|
|
|
|
if (space_answer == 1) { |
|
|
|
|
|
printf("\nCorrect!\n"); |
|
|
|
|
|
space_score++; |
|
|
|
|
|
} else { |
|
|
|
|
|
printf("\nIncorrect\n"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
printf("\nYour score is: %d\n", space_score); |
|
|
printf("\nYour score is: %d\n", space_score); |
|
|
} |
|
|
} |
|
|