Aktualizovat du2/program.c

This commit is contained in:
Denys Sanchuk 2025-03-04 13:26:56 +00:00
parent 50ae5a3bd3
commit c92b1885f0

View File

@ -55,7 +55,7 @@ int main() {
while (1) {
double koeficient = citaj_cislo(n + 1);
if (koeficient != koeficient) { // Если NaN, это конец ввода
if (koeficient != koeficient) {
break;
}
koef[n++] = koeficient;