Обновить du2/program.c

This commit is contained in:
Bohdana Marchenko 2025-03-06 12:56:27 +00:00
parent d091362935
commit 29baf2a6fe

View File

@ -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) {