Update du1/program.c
oprava exit returnu
This commit is contained in:
parent
9ee2f09cd2
commit
fc1320c78f
@ -60,7 +60,7 @@ int main(){
|
|||||||
} else
|
} else
|
||||||
if (vyhodnotenie == -3) {
|
if (vyhodnotenie == -3) {
|
||||||
printf("Nepodarilo sa nacitat polynom na %d mieste.\n", idx + 1);
|
printf("Nepodarilo sa nacitat polynom na %d mieste.\n", idx + 1);
|
||||||
exit(1);
|
exit(0);
|
||||||
} else {
|
} else {
|
||||||
idx++;
|
idx++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user