This commit is contained in:
Igor Dzuro 2020-03-20 10:46:52 +01:00
parent 15e9473880
commit a74a6cee5b

View File

@ -18,9 +18,9 @@ int main() {
for (int i=0; i<100; i++) { for (int i=0; i<100; i++) {
retVal = scanf("%f", &coef[coefCount]); retVal = scanf("%f", &coef[coefCount]);
if (coef[i] == 0) { // if (coef[i] == 0) {
break; // break;
} // }
if (retVal <= 0 || retVal == EOF) { if (retVal <= 0 || retVal == EOF) {
break; break;