Initialization
This commit is contained in:
parent
ab717d9b36
commit
74332063ea
@ -13,12 +13,9 @@ int main() {
|
||||
|
||||
while (scanf("%lf", &input) == 1) {
|
||||
coefs[count] = input;
|
||||
printf("%lf", coefs[count]);
|
||||
count++;
|
||||
}
|
||||
if (input == 'x') {
|
||||
printf("Exiting program.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
x = coefs[0];
|
||||
length = count;
|
||||
|
Loading…
Reference in New Issue
Block a user