Initialization

This commit is contained in:
Kozar 2024-03-04 20:20:04 +01:00
parent 85ddf927f7
commit f862318693

View File

@ -13,7 +13,7 @@ int main() {
while (count < SIZE && scanf("%lf", &input) == 1) { while (count < SIZE && scanf("%lf", &input) == 1) {
coefs[count] = input; coefs[count] = input;
if (coefs[count] == 'x') if (coefs[count] = 'x')
{ {
printf("Nepodarilo sa nacitat polynom na %d mieste.", count); printf("Nepodarilo sa nacitat polynom na %d mieste.", count);
return 1; return 1;