The function returns true if the 1st number to the power of the 2nd number equals the 3rd number; otherwise it returns false. (Assume that the 3 numbers are of type double). How would this look?

Write out the logic in psuedocode so you can get it right in your head. Something like

my_function(first, second, third)

set temp to first ^ second

return temp == third

my_function(first, second, third)

set temp to first ^ second

return temp == third

Topic archived. No new replies allowed.