Update 'cv2/program.c'

This commit is contained in:
Weber 2024-02-28 09:59:42 +00:00
parent efa1f9ad58
commit b494c9435a

View File

@ -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;
}