I need to write the following declarative sentence in propositional logic.
No shoes, no shirt, no service.
My solution is: ~p,~q, ~r , is it correct or do i need to use implication -> instead
I need to write the following declarative sentence in propositional logic.
No shoes, no shirt, no service.
My solution is: ~p,~q, ~r , is it correct or do i need to use implication -> instead
"," is not a symbol of propositional logic. So that in itself says you have it wrong.
You need to think about what the phrase means: "If you have no shoes, or you have no shirt, then you will receive no service." Try translating that into propositional logic.
"No shoes, no shirt, no service" is a phrase that states that both shoes and shirt are required, in order to receive service. Therefore, the statement should read $\neg \operatorname{Shoes} \vee \neg \operatorname{Shirt} \to \neg \operatorname{Service}$ in propositional logic (where you may replace "Shoes", "Shirt", "Service" with variables). Note that this is equivalent to $\operatorname{Service} \to \operatorname{Shoes} \wedge \operatorname{Shirt}$.