Update 'cv2/program.c'
This commit is contained in:
parent
efa1f9ad58
commit
b494c9435a
@ -6,7 +6,7 @@ int main() {
|
||||
int max_score = 0;
|
||||
|
||||
while (count < 50) {
|
||||
if (scanf("%d", &results[count]) != 1) {
|
||||
if (scanf("%d", &results[count]) == 1) {
|
||||
printf("Chyba: Málo platných hodnôt.\n");
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user