|
@ -9,12 +9,12 @@ void welcome() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int choose_program() { |
|
|
int choose_program() { |
|
|
int i; |
|
|
|
|
|
|
|
|
int choice; |
|
|
|
|
|
|
|
|
printf("Welches der folgenden Programme moechtest du starten?\n1. Rechner.exe\n2. Gleichungen.exe\n3. TicTacToe.exe\n\n"); |
|
|
printf("Welches der folgenden Programme moechtest du starten?\n1. Rechner.exe\n2. Gleichungen.exe\n3. TicTacToe.exe\n\n"); |
|
|
scanf("%d", &i); |
|
|
|
|
|
|
|
|
scanf("%d", &choice); |
|
|
|
|
|
|
|
|
return i; |
|
|
|
|
|
|
|
|
return choice; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int addThreeNumbers(int num1, int num2, int num3) { |
|
|
int addThreeNumbers(int num1, int num2, int num3) { |
|
|