i read about it somewhere else and i didn't understand it. that's why i am here seeking good explanatory answer so that i can understand the concept.

p       q       p->q
---------------------
TRUE    TRUE    TRUE    
TRUE    FALSE   FALSE
FALSE   TRUE    TRUE    
FALSE   FALSE   TRUE

I searched alot about it and they all say like if p then q. but this is not making concept clear.
i would like to see explaination on how results come in the above truth table

This truth table looks more like ( (NOT p) OR q ). Or, it could be if p then q else TRUE.

thanks for your reply
but would you relate this to conditional proposition?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.