Visit www.myprogramminglab.com to complete this Programming Challenge online and get instant feedback.
1. Character Counter
Write a method that uses recursion to count the number of times a specific character occurs in an array of characters. Demonstrate the method in a program.
2. Recursive Power Method
Write a method that uses recursion to raise a number to a power. The method should accept two arguments: the number to be raised and the exponent. Assume that the exponent is a nonnegative integer. Demonstrate the method in a program.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here