logical Operators Applications in C Programming