Обновить du2/program.c
This commit is contained in:
parent
d091362935
commit
29baf2a6fe
@ -36,6 +36,7 @@ int read_double(double *value, int coef_index) {
|
||||
int main() {
|
||||
double x;
|
||||
|
||||
// Read base `x`
|
||||
if (!read_double(&x, 1)) {
|
||||
return 1;
|
||||
}
|
||||
@ -46,6 +47,7 @@ int main() {
|
||||
|
||||
while (1) {
|
||||
coef_count++;
|
||||
|
||||
int status = read_double(&coef, coef_count);
|
||||
|
||||
if (status == -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user