0 of 10 problems solved • 0%
Use in a course

Exercise prompt

Predict a Branch

Only the branch selected by the condition will run. Read the value first, then predict the message.

Your task

With points = 4, predict which message the condition points >= 5 will choose. Complete the prediction, then write the if and else branches so the console shows the actual message with the label Actual:.