Aktualizovat du2/program.c
This commit is contained in:
parent
50ae5a3bd3
commit
c92b1885f0
@ -55,7 +55,7 @@ int main() {
|
|||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
double koeficient = citaj_cislo(n + 1);
|
double koeficient = citaj_cislo(n + 1);
|
||||||
if (koeficient != koeficient) { // Если NaN, это конец ввода
|
if (koeficient != koeficient) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
koef[n++] = koeficient;
|
koef[n++] = koeficient;
|
||||||
|
Loading…
Reference in New Issue
Block a user