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.

Este exercício foi convertido para o PLM do excelente sítio de exercícios http://javabat.com/