In [30;50]

Given 2 int values, return true if they are both in the range 30..40 inclusive, or they are both in the range 40..50 inclusive.

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