Update 'cv2/program.c'

This commit is contained in:
Weber 2024-02-28 09:57:45 +00:00
parent c9ede47f41
commit efa1f9ad58

View File

@ -7,11 +7,9 @@ int main() {
while (count < 50) { 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; return 1;
} }
if (results[count] < 1) {
break;
}
if (results[count] < 0) { if (results[count] < 0) {
break; break;
} }