Java · Decisions

if, else and else-if chains

A grade, a price or a warning level picks one answer from several, and the order of the tests decides which.