Wouldn't this be clearer with the condition being `if ((n % 100) < 10)`?