Browse Source

refactoring: einen Variablennamen verbessert

remotes/origin/habib
Habib 11 months ago
parent
commit
95f0d8c2b2
  1. 6
      src/c/funktionen.c

6
src/c/funktionen.c

@ -9,12 +9,12 @@ void welcome() {
}
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");
scanf("%d", &i);
scanf("%d", &choice);
return i;
return choice;
}
int addThreeNumbers(int num1, int num2, int num3) {

Loading…
Cancel
Save