Answer:

Enter a number
? 12
The number is zero or positive.
Bye

The true branch was executed because the answer to the question NUMBER >= 0 was true.

The Program as a Chart

Here is the program again, done as a chart. Because the answer to the question was "true", the path on the left was done.

two way decision in a program

The "two-way split" of the program is easy to see in a two dimensional chart. It is harder to see this in a program.

QUESTION 4:

The user runs the program and enters "-5". What will the program print?