and what we see ? "||" is or and "&&" is and but in my program "||" work like and. thats why i am posting. read the question correct.
Love the attitude. I did read the question correctly. You don't understand how the || and && operators work. If you read the explanation in the link provided and plugged the appropriate values into the tables shown there you would see that your program works exactly according to the proscribed behavior of the || and && operators. But I suppose skimming over it and using your impression of how it should work is "reading the explanation correct?"