if (condition) { ... } else { ... } runs one block or the other. A chain of else if tests conditions in order and runs the first one that is true, so put the narrowest case first. Comparisons are <, <=, >, >=, == and !=; note that == compares and = assigns.
&& is true when both sides are, || when either side is, and ! negates. C has no separate true and false in older code: any nonzero value counts as true and 0 as false, and many functions return 1 or 0.
Most bugs in this lesson live on the boundary. When a rule says "50 or more", the test is >= 50, and the value 50 itself is the case to try.
Conditions checked from the most specific threshold down.