C++ · Decisions

else-if chains and their order

Grades, tax brackets and shipping rates are chains of tests, and the order of the tests decides the answer.