Compare commits

...

2 Commits

Author SHA1 Message Date
80ce63f15b Merge branch 'master' of git.kemt.fei.tuke.sk:ak643du/pvjc24 2024-03-05 10:27:46 +01:00
b2baebf423 Initialization 2024-03-05 10:16:50 +01:00

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