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