toThePowerOf is a function that accepts two int parameters and returns the value of the first parameter raised to the power of the second.

toThePowerOf is a function that accepts two int parameters and returns the value of the first parameter raised to the power of the second.

LANGUAGE: C++

CHALLENGE:

toThePowerOf is a function that accepts two int parameters and returns the value of the first parameter raised to the power of the second.

An int variable cubeSide has already been declared and initialized . Another int variable , cubeVolume , has already been declared.

Write a statement that calls toThePowerOf to compute the value of cubeSide raised to the power of 3, and store this value in cubeVolume.

This content requires that you purchase additional access. The price is $2.99 or free for our Make Life Easier and 30 Days – Not Recurring members.

Purchase this Content ($2.99) Choose a Membership Level