From a74a6cee5ba9aab7ca4d3386f47b4f33f89d33e9 Mon Sep 17 00:00:00 2001 From: Igor Dzuro Date: Fri, 20 Mar 2020 10:46:52 +0100 Subject: [PATCH] fix --- a1/program.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/a1/program.c b/a1/program.c index 6a1319f..9b49ecd 100644 --- a/a1/program.c +++ b/a1/program.c @@ -18,9 +18,9 @@ int main() { for (int i=0; i<100; i++) { retVal = scanf("%f", &coef[coefCount]); - if (coef[i] == 0) { - break; - } + // if (coef[i] == 0) { + // break; + // } if (retVal <= 0 || retVal == EOF) { break;