Here's a hint to an easier way:


char first = 'b';
char second = 'z';
System.out.println(first >= 'a' && first <= 'c');
System.out.println(second >= 'a' && second <= 'c');


--- Update ---