Question: c++ program ....Please don't use Cmath you most use a loops of your choice , implement an exponent function that will ask for a base
c++ program ....Please don't use Cmath you most use a loops of your choice , implement an exponent function that will ask for a base and an exponent and will display the solution. In the case you get a negative exponent you have to output your answer as 1/n or -1/n in the case of a negative number with an odd exponent. So for example, 2^3 should return 1/8. Whereas -2^3 should return -8 and -2^-3 should return -1/8 and 2^3 should return 8.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
