Compare commits
2 Commits
bcabea44b3
...
80ce63f15b
Author | SHA1 | Date | |
---|---|---|---|
80ce63f15b | |||
b2baebf423 |
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user