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