Initialization

This commit is contained in:
Kozar 2024-03-05 11:02:57 +01:00
parent c0345647f3
commit 9a492ea9a4

View File

@ -11,6 +11,9 @@ int main() {
double result = 0.0; double result = 0.0;
while (count < SIZE && scanf("%lf", &input) == 1) { while (count < SIZE && scanf("%lf", &input) == 1) {
if (input == x) {
return 0;
}
coefs[count] = input; coefs[count] = input;
count++; count++;
} }