Initialization

This commit is contained in:
Kozar 2024-03-04 20:17:25 +01:00
parent 577da2e684
commit 6247b2169c

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 (input == 'x') if (coefs[count] == 'x')
{ {
printf("Nepodarilo sa nacitat polynom na %d mieste.", count); printf("Nepodarilo sa nacitat polynom na %d mieste.", count);
return; return;