Initialization

This commit is contained in:
Kozar 2024-03-05 10:16:50 +01:00
parent dda5a20078
commit b2baebf423

View File

@ -12,15 +12,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')
{
printf("Nepodarilo sa nacitat polynom na %d mieste.", count);
return 1;
}
count++; count++;
} }
x = coefs[0]; x = coefs[0];