Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

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

Answer Attachments

Exams With Marking Schemes

Related Questions