Ask Question
25 June, 23:07

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

+3
Answers (1)
  1. 26 June, 01: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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers