Изменить 'a1/program.c'

This commit is contained in:
Oleksandr Hryshchenko 2021-03-18 19:33:58 +00:00
parent e777fc6e7e
commit 52c345db5e

View File

@ -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;
}