Ask Question
3 January, 10:05

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

+4
Answers (1)
  1. 3 January, 11:02
    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?
Get 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 & 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