Initialization
This commit is contained in:
parent
6fe00d4b47
commit
dd67962395
@ -13,14 +13,6 @@ int main() {
|
|||||||
while (count < SIZE) {
|
while (count < SIZE) {
|
||||||
|
|
||||||
coefs[count] = input;
|
coefs[count] = input;
|
||||||
|
|
||||||
if (scanf("%lf", &input) != 1 && (scanf("%c", &input) != 1 || input != 'x')) {
|
|
||||||
printf("Nepodarilo sa nacitat polynom na %d mieste.\n", count + 1);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
if (input == 'x') {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user