Initialization

This commit is contained in:
Kozar 2024-03-07 12:59:24 +01:00
parent d9b91d4804
commit 3e2f9826e2

View File

@ -11,15 +11,7 @@ int main() {
int length = 0;
double result = 0.0;
while (count < SIZE) {
if (scanf("%lf", &input) != 1 && input != '\n') {
if (input != EOF && input != '\n'){
printf("123");
return 0;
}
break;
}
while (scanf("%lf", &input) == 1) {
coefs[count] = input;
count++;