In Main Z.74 geändert
This commit is contained in:
parent
a7fd62eda4
commit
fc9031adbd
2
main.c
2
main.c
@ -71,7 +71,7 @@ int main(int argc, char *argv[])
|
|||||||
userInput = inputNumber("Welche Zahl kommt doppelt vor: ");
|
userInput = inputNumber("Welche Zahl kommt doppelt vor: ");
|
||||||
measuredSeconds = stopTimer();
|
measuredSeconds = stopTimer();
|
||||||
|
|
||||||
duplicate = getDuplicate(numbers, numberOfElements+1);
|
duplicate = getDuplicate(numbers, numberOfElements);
|
||||||
|
|
||||||
// check result and update highscores
|
// check result and update highscores
|
||||||
if(userInput == duplicate)
|
if(userInput == duplicate)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user