Actions Problems
Math Actions: Add
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.