Boolean (even more) fun

A very good introduction to this type is available here: http://javabat.com/doc/ifboolean.html.

This exercise was converted to PLM from the excellent exercising site http://javabat.com/