You can
put this solution on YOUR website!
Construct a truth table for q -> ~p
Rule for the conditional -> :
If the truth value of what is on the left of -> is T
and the truth value of what is on the right of -> is F,
then the truth value of -> is F. Otherwise it's T.
p q ~p q->~p
T T F F
T F F T
F T T T
F F T T
Edwin