Browse Source

Added menu (v_AllAboutSpace)

main
fdlt3859 2 years ago
parent
commit
6274b2ee99
  1. 6
      src/main/quizproject.c

6
src/main/quizproject.c

@ -2917,9 +2917,15 @@ void v_play_horoscope(void) {
void v_allaboutspace(void){ void v_allaboutspace(void){
char spacename[20]; char spacename[20];
int spacechoice;
printf("\nEnter your Astronaut name: \n"); printf("\nEnter your Astronaut name: \n");
scanf("%s", spacename); scanf("%s", spacename);
printf("\nHello, Commander %s! Pleased to have you onboard.\n\n", spacename); printf("\nHello, Commander %s! Pleased to have you onboard.\n\n", spacename);
printf("Main Menu\n");
printf("1. Start the Quiz!\n");
printf("2. Quit\n");
printf("Enter your choice: ");
scanf("%d", &spacechoice);
} }

Loading…
Cancel
Save