(adsbygoogle = window.adsbygoogle || []).push({}); comp science hw 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.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Comp science hw help

**Physics Forums | Science Articles, Homework Help, Discussion**