The circuit i attached is a window comparator it will it compares a given input with high and low referance voltages. And if is between them output is +vcc if not very low.. It works fine in simulation but when it comes to set up the circuit my seven segment lights everytime whatever my input voltage...Why? Please help me this is a part of my lab project and very little time left for demonstration.. Thank you for your help in advance