Get premium membership and access questions with answers, video lessons as well as revision papers.

Write a C function that has three inputs which are integers. The function returns true if the first number raised to the power of the second...

      

Write a C function that has three inputs which are integers. The function returns true if the
first number raised to the power of the second number equals the third number.

  

Answers


Anthony
bool f1( int a, int b, int c)
{
if (pow( (float) a, (float) b)==c)
return true;
else return false;
}
anmwat answered the question on March 5, 2019 at 10:35


Next: Describe the action of aqueous ammonia on solution of metallic salts.
Previous: Compare and contrast Multiprogramming, Multitasking and Multiprocessing

View More Computer Science Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions