I\'m trying to make my code more readable, so I decided to use some short IF statements.
Here\'s my code which doesn\'t work (\"not a statement\"):
The ternary operator can only be the right side of an assignment and not a statement of its own.
http://www.devdaily.com/java/edu/pj/pj010018/