Ask Question
17 August, 09:08

Write a recursive method int power (int i, int j which determines teh result of i^j where j>=0

+1
Answers (1)
  1. 17 August, 09:17
    0
    Int power (int i, int j)

    {

    if (j = = 0) / / base case

    return (0);

    return (i * power (i, j - 1));

    }
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Write a recursive method int power (int i, int j which determines teh result of i^j where j>=0 ...” 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