Learn
Code Challenge: C++ Functions
Tenth Power

tenth_power()

Instructions

1.

Write a function named tenth_power() that has:

  • An int parameter named num.

The function should return num raised to the 10th power.

Folder Icon

Take this course for free

Already have an account?