Timeline for Error message: 21:9: error: expected expression else
Current License: CC BY-SA 4.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 21, 2019 at 1:44 | comment | added | Cliff B | Also, the for loop as written will only run once. It hits an if/else statement with return statements in both clauses. As soon as it hits a return statement, the program terminates. The code will never get to the end of the loop. | |
Aug 20, 2019 at 18:39 | history | answered | MARS | CC BY-SA 4.0 |