Do Practice Problems in Quorum

Learn code through small examples.

Two cartoon rabbits wearing glasses. The rabbit on the left is holding a game controller, while the rabbit on the right is holding up a paper with a pie chart on it.

Actions Problems

Math Actions: Power

For this problem, add a Power action with two integer parameters and an integer return value. Once you have completed the action, call the action with the arguments 3, 2(e.g., result = Power(3, 2)). Then, output the result. When run, the program should output the following.

-6
-2
15
17.0
true
78
9

Coding:

Blocks