Initialization
This commit is contained in:
parent
577da2e684
commit
6247b2169c
@ -13,7 +13,7 @@ int main() {
|
||||
while (count < SIZE && scanf("%lf", &input) == 1) {
|
||||
coefs[count] = input;
|
||||
|
||||
if (input == 'x')
|
||||
if (coefs[count] == 'x')
|
||||
{
|
||||
printf("Nepodarilo sa nacitat polynom na %d mieste.", count);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user