Title Recursively calculate the power of a number
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/index.html?lang=JAVA&set=recursion.recursion_power
Platform Name PCEX
Features
Description Using recursion, complete the power method so that it returns the value of a to the power of b. Examples: power(3,4) => 81 power(2,8) => 256 power(1,1) => 1 power(9,0) => 1
Keywords
Author Rully Hendrawan
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/index.html?lang=JAVA&set=recursion.recursion_power
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Java
Natural Language en

Preview