Initialization

This commit is contained in:
Kozar 2024-03-07 12:47:55 +01:00
parent 684b4d8b81
commit 6926cea8e8

View File

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