- #1
heavyc
- 16
- 0
comp science homework help!
I have this problem in Data Abstraction and problem solving with C++. Here is the problem. Implement a C++ program that calls a recursive function "compute_exponent". compute_exponent function computes a to the power n, where a is a real number and n is a non-negative integer.
I am new to this class and I have no idea what I am doing but i think I know how to put the function together bbut I have no idea how to get this problem started because we didnt really go over to much in this class but if anyone can help me out a little it would be a very grateful thing lol. So please anyone.
I have this problem in Data Abstraction and problem solving with C++. Here is the problem. Implement a C++ program that calls a recursive function "compute_exponent". compute_exponent function computes a to the power n, where a is a real number and n is a non-negative integer.
I am new to this class and I have no idea what I am doing but i think I know how to put the function together bbut I have no idea how to get this problem started because we didnt really go over to much in this class but if anyone can help me out a little it would be a very grateful thing lol. So please anyone.