From da83f98e46f47a15ab1b74feb3de7044181338dc Mon Sep 17 00:00:00 2001 From: ak643du Date: Fri, 8 Mar 2024 01:17:34 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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];