A branch turns a business rule into a result for one part of the input space. Write the boundaries down before you code. If a queue is full at ten items, the test belongs on ten as well as eleven; a rule that says greater than ten means something different. Go uses braces around every branch and does not put parentheses around a condition. A switch can compare one value with several cases or evaluate conditions in order. The first matching case runs, and cases do not fall through unless you request it. In these tasks the final branch matters as much as the ordinary example. You will classify queue states, guard division and preserve valid values at the edges of a range.
Below capacity remains open.