diff --git a/cv3/program.c b/cv3/program.c index 54fb920..e0c6007 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -13,8 +13,9 @@ int main() { while (count < SIZE) { if (scanf("%lf", &input) != 1 && input != '\n') { - break; + return 0; } + coefs[count] = input; count++; }