Not that did not compile, but I was able to edit my code from the suggestions here. I want to think everyone for there help, this is one of those times that no matter what I did I just could not...
Type: Posts; User: GoPredsGo
Not that did not compile, but I was able to edit my code from the suggestions here. I want to think everyone for there help, this is one of those times that no matter what I did I just could not...
First I will give an outline what I have to do.
The example below covers the case of n>0. You need to cover both >0 and <0.
class Power{
float power (float x,long n){
float pow=1;...