Comparator help (LM2903N)

Hello all. Thanks for taking up your time to read my post.


I am using a LM2903N to learn about comparators. I am powering the unit with a 9v battery and connecting to the 5v and the 2.5v. However, when I check the output the resulting voltage is 0v. Why is this happening ? My wiring diagram looks similar to this picture I created. Can anyone help me come up with ideas to try and get this working? Thanks for reading.


enter image description here

                                                                            This is the circuit for LM2903N  I drew.


I am very puzzled about this question. Can anyone help me ?