Compare commits

..

No commits in common. "80ce63f15bfae8b2dae2b17adb40c58da48fff32" and "bcabea44b34bf9dbb196078c7b61a5f8572fa287" have entirely different histories.

View File

@ -12,7 +12,15 @@ 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];