Confused about logical statements.

  • Context: High School 
  • Thread starter Thread starter torquerotates
  • Start date Start date
  • Tags Tags
    Confused
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
torquerotates
Messages
207
Reaction score
0
A and B or C


Does that even makes sense as a statement?
I thought logical operators are binary.

Obviously, the "or" links to C but what is on the other side? A or B?

i mean 1+2-3=0 makes sense since (1+2)-3=3-3=0=1-1=1+(2-3)

But [(A and B) or C]=(AorC)and(BorC)
[ A and ( B or C) ]= (AandB)or(AandC)

these are not the same.
 
Physics news on Phys.org
torquerotates said:
A and B or C

You really need to use parentheses to be clear


I think most computer languages will interpret it as

(A and B) or C

But I know of at least one that will make it

A and (B or C)