Initialization
This commit is contained in:
parent
fca78a4887
commit
a0ccc0b00a
@ -6,7 +6,7 @@ int main() {
|
||||
double coefs[SIZE] = {0.0};
|
||||
double x = 0.0;
|
||||
double input = 0.0;
|
||||
int count = 1;
|
||||
int count = 0;
|
||||
int length = 0;
|
||||
double result = 0.0;
|
||||
|
||||
@ -15,6 +15,8 @@ int main() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
count++;
|
||||
|
||||
while (count < SIZE) {
|
||||
if (scanf("%lf", &input) != 1) {
|
||||
if (scanf("%c", &input) == 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user