Ask Question
18 October, 21:54

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

+3
Answers (1)
  1. 18 October, 22:19
    0
    Int cube (int n) { return n*n*n; }

    would do the trick in C.
Know the Answer?
Not Sure About the Answer?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers