Initialization
This commit is contained in:
parent
9686ff02d0
commit
e51eb9632c
@ -12,12 +12,13 @@ int main() {
|
|||||||
|
|
||||||
while (count < SIZE) {
|
while (count < SIZE) {
|
||||||
if (scanf("%lf", &input) != 1) {
|
if (scanf("%lf", &input) != 1) {
|
||||||
if (count == 0){
|
if (scanf("%c", &input) == 1) {
|
||||||
printf("Nepodarilo sa nacitat zaklad x\n");
|
if (count == 0){
|
||||||
|
printf("Nepodarilo sa nacitat zaklad x\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
printf("Nepodarilo sa nacitat polynom na %d mieste.\n", count);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
|
||||||
printf("Nepodarilo sa nacitat polynom na %d mieste.\n", count);
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
coefs[count] = input;
|
coefs[count] = input;
|
||||||
count++;
|
count++;
|
||||||
|
Loading…
Reference in New Issue
Block a user