In Main Z.74 geändert

This commit is contained in:
Fabrice 2025-12-10 09:50:33 +01:00
parent a7fd62eda4
commit fc9031adbd

2
main.c
View File

@ -71,7 +71,7 @@ int main(int argc, char *argv[])
userInput = inputNumber("Welche Zahl kommt doppelt vor: ");
measuredSeconds = stopTimer();
duplicate = getDuplicate(numbers, numberOfElements+1);
duplicate = getDuplicate(numbers, numberOfElements);
// check result and update highscores
if(userInput == duplicate)