Update 'cv2/program.c'
This commit is contained in:
parent
c9ede47f41
commit
efa1f9ad58
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user