fix
This commit is contained in:
parent
15e9473880
commit
a74a6cee5b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user