How do I test my condition statement that is not working?

Thanks
I have updated the question to ask why my condition statement is not working and how to correct it.