Initialization

This commit is contained in:
Kozar 2024-03-04 20:21:11 +01:00
parent f862318693
commit dda5a20078

View File

@ -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;