For this problem, write an action for Subtract and Multiply. Start by adding two action blocks and rename each Subtract and Multiply. Each has two integer parameters and an integer return value. Once the actions are built, call each action with the arguments 3 and 5(e.g. result = Subtract(3, 5)). Then, output the results. When run, the program should output -6, -2, and 15.
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
Using the Add action as a guide build two actions, action Subtract(integer a, integer b) returns integer and action Multiply(integer a, integer b) returns integer. Once you have built the actions call them and output the result.