diff --git a/cv3/program.c b/cv3/program.c index 5307012..efb29c0 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -16,17 +16,13 @@ int main() { printf("Nepodarilo sa nacitat zaklad x\n"); return 0; } - while (getchar() != '\n') {} - + printf("Nepodarilo sa nacitat polynom na %d mieste.\n", count); return 0; } coefs[count] = input; count++; - if (getchar() == '\n') { - break; - } } x = coefs[0];