The way I'd do it is the input and voltage divider would be the same circuit. A second voltage divider would be the reference voltages, and have a precision voltage regulator on it. Both these voltage dividers would feed into comparitors, one for each logic state (yes/no). The output of the comparitor would trigger the appropriate signal.
A circuit like this is very much like a flow chart in many ways.
A circuit like this is very much like a flow chart in many ways.