Letter grading via Groovy switches
Letter grading in scala using pattern matching
Letter grade in Clojure, bending the language to express the problem