|
@ -6,4 +6,13 @@ void welcome() { |
|
|
printf("Hallo! Wie heisst du?\n"); |
|
|
printf("Hallo! Wie heisst du?\n"); |
|
|
scanf("%s", &x); |
|
|
scanf("%s", &x); |
|
|
printf("\nSchöner Name, %s!\n\n", x); |
|
|
printf("\nSchöner Name, %s!\n\n", x); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int choose_program() { |
|
|
|
|
|
int i; |
|
|
|
|
|
|
|
|
|
|
|
printf("Welches der folgenden Programme moechtest du starten?\n1. Rechner.exe\n2. Gleichungen.exe\n3. TicTacToe.exe\n\n"); |
|
|
|
|
|
scanf("%d", &i); |
|
|
|
|
|
|
|
|
|
|
|
return i; |
|
|
} |
|
|
} |