I had made a program with if else statement in arduino ide and print out the result at the serial monitor but the messages that printed in the serial monitor did not meet the requirement that I had set in the program. I apologize for my bad english, can anyone help me out on pointing my mistake in the program?
P.S. Read How to post code properly.
It makes it a lot easier to read and test your code if it is in code tags
It's also a lot easier if you just cut example output from the Serial Monitor and paste it between code tags instead of posting an image.