What is the best way to make certain all parts of a complex logical expression evaluate in the order that your program requires?

Select one:

a.
Write expressions from left to right and hope for the best

b.
Use parentheses to mark expressions that should evaluate first

c.
Always use nested "if" statements to break down complex expressions

d.
Break statements across multiple lines, with highest priority expressions coming first

1 answer

b. Use parentheses to mark expressions that should evaluate first
Similar Questions
    1. answers icon 1 answer
    1. answers icon 5 answers
  1. QUESTION 1When using the OR logical operator to connect 2 conditions to create a complex Boolean expression, neither the first
    1. answers icon 1 answer
  2. QUESTION 1When using the OR logical operator to connect 2 conditions to create a complex Boolean expression, neither the first
    1. answers icon 0 answers
more similar questions