View Problem

Perform different actions depending on several boolean conditions (IF .. THEN .. ELSIF .. ELSE)

ExpandDiskEdit
fantom
if (age > 84)
echo("You are really ancient")
else if (age > 30)
echo("You are middle-aged")
else
echo("You are young")

Submit a new solution for fantom
There are 22 other solutions in additional languages (clojure, cpp, csharp, erlang ...)