Изменить 'a1/program.c'
This commit is contained in:
parent
e777fc6e7e
commit
52c345db5e
@ -15,10 +15,10 @@ int main () {
|
||||
break;
|
||||
|
||||
if (i == 0){
|
||||
x = (double)strtod(input, &ptr, 10);
|
||||
x = (double)strtod(input, &ptr);
|
||||
}
|
||||
else {
|
||||
numbers [i] = (double)strtod(input, &ptr, 10);
|
||||
numbers [i] = (double)strtod(input, &ptr);
|
||||
}
|
||||
counter = i;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user