If (p∧~r)→(~p∨q) is false, then truth values of p, q and r are, respectively,
T, T, T
T, F, T
T, F, F
F, T, T
(p∧~r)→(~p∨q) is false.
Thus, (p∧~r) is true and (~p∨q) is false
So, (p is true and ~r is true) and (~p is false and g is false)
Therefore, p is true, r is false and q is false.