For this task and the next five, build up a math library with a collection of actions. For this problem, build an Add action that has two integer parameters and an integer return value, action Add( integer a, integer b ) return integer. Then call the action, integer result = Add(3, -9), with the arguments 3 and -9. Finally, output the result. When run, it should output -6.
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
Switch to Next Tab CTRL + ]
Switch to Previous TabCTRL + [
Blocks
Hint
Great job!
Try again
There are multiple ways to solve this problem. If you are not sure how to solve it, add the given blocks to create an Add action, return a value, and call the action in Main.