TweakCode
Recursion lessons
Loading editor…
Test casesRun to compare output
Inputx = 2.00000, n = 10
Expected1024.00000
Output—

More practice

Same technique, different problems. Try them without the walkthrough.