Based on the provided pseudocode, if a user inputs 100
, the program will evaluate the condition in the IF
statement. Here’s the breakdown:
- The user inputs
100
, sonum
becomes100
. - The condition checks if
num > 90
. Since100
is greater than90
, the condition evaluates toTRUE
. - Since the condition is true, the program will execute the
THEN
block.
The output will be:
Yellow