Skip to main content
Logo image

Section 9.8 Evaluating Logic Statements

Now that we can write more complicated logical expressions involving multiple operators, in what order do these get evaluated?

Activity 9.7.

    Take a look at the program below for example. What is its output? Try to figure this out first by only thinking about the program and not yet running it.

    admin.....open in new window

    What do you think the output will be?
  • "Huh??? False???"
  • Correct
  • "True"
  • Not quite. Try again!
  • "True Huh??? False???"
  • Not quite. Try again!