Initialization
This commit is contained in:
parent
684b4d8b81
commit
6926cea8e8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user