forked from freudenreichan/info2Praktikum-DobleSpiel
In Main Z.74 geändert
This commit is contained in:
1 parent
a7fd62eda4
commit
fc9031adbd
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user