Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-02-28 | Change 2-02's solution to a while loop | zlg | 1 | -11/+7 | |
A recursive function is a bit much for something that simple. | |||||
2013-02-27 | Solve Exercise 2-02: No logical operators | zlg | 1 | -0/+44 | |
The text doesn't specify which technique to use. The section outlined operator precedence, but I couldn't think of a way to check for truth in the three main expressions without logical operators. So I turned to a recursive function. It works, but I'm not sure if it's what K&R were after. |