(Logic and Truth Tables HC)Two propositional statements are…
(Logic and Truth Tables HC)Two propositional statements are given.p: All raccoons sleep during the day.q: Some raccoons stay up all night.Part A: Write a logical function to represent All raccoons sleep during the day if and only if no raccoons stay up all night. (5 points)Part B: Determine the truth table values for the column ~p ↔ q. (5 points) p q ~p ~q ~p ↔ q T T F F T F F T F T T F F F T T