In this task, all three call blocks for the CompareNumbers action are called in the Main action. Build the CompareNumbers action so that it compares the a and b parameters. A finished program will output the following.
14 is smaller than 21 22 is equal to 22 73 is larger than 54
Coding:
Hotkey Shortcuts
Move BlocksUP or DOWN or TAB
Run Program ALT + SHIFT + R
Stop Program ALT + SHIFT + S
Hide Tray ALT + SHIFT + X
Zoom In ALT + +
Zoom Out ALT + -
Open Help ALT + SHIFT + H
Navigate to Tray ALT + 1
Navigate to Blocks ALT + 2
Enter Navigation Mode SHIFT + ENTER
Blocks
Hint
Great job!
Try again
In this problem, drop in the conditional block and write the boolean expressions to identify when a is less than b, when a is greater than b, and when a equals b. Then drop in the matching output block. As a reminder, the name, number of parameters, and type should match when calling an action. Trace the values used in each action call to predict what the results will be.