
Patrick B. answered 06/05/19
Math and computer tutor/teacher
You are correct, nicely done!
p and q and ~r is only true when p is true, q is true, and r is false; otherwise, it is false.
Here is the truth table to prove it
p q r p and q and ~r
T T T F
T T F T
T F T F
T F F F
F T T F
F T F F
F F T F
F F F F