Actions Problems
Math Actions: AbsoluteValue
For this problem, add an AbsoluteValue action with one integer parameter and a integer return value. Once you have completed the action, call the action with the argument -78 (e.g., result = AbsoluteValue(-78)
). Then, output the result. When run, the program should output the following.
-6
-2
15
17.0
true
78