Initialization

This commit is contained in:
Kozar 2024-03-08 01:17:34 +01:00
parent 80a32abf09
commit da83f98e46

View File

@ -16,17 +16,13 @@ int main() {
printf("Nepodarilo sa nacitat zaklad x\n"); printf("Nepodarilo sa nacitat zaklad x\n");
return 0; return 0;
} }
while (getchar() != '\n') {}
printf("Nepodarilo sa nacitat polynom na %d mieste.\n", count); printf("Nepodarilo sa nacitat polynom na %d mieste.\n", count);
return 0; return 0;
} }
coefs[count] = input; coefs[count] = input;
count++; count++;
if (getchar() == '\n') {
break;
}
} }
x = coefs[0]; x = coefs[0];