Ask Question
29 September, 13:41

Write a method called cube that accepts one integer parameter and return that value raised to the third power.

+3
Answers (1)
  1. 29 September, 17:18
    0
    Int cube (int n) { return n*n*n; }

    would do the trick in C.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a method called cube that accepts one integer parameter and return that value raised to the third power. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers