Question: Exercise 2.10. Write a function to compute the power a', where n > 0. It should have the following prototype: I need to find n!

Exercise 2.10. Write a function to compute the power a', where n > 0. It should have the following prototype:

I need to find n! using the power function.

Exercise 2.10. Write a function to compute the power a', where n

I am trying to create a code for n! factorial and I used for loop to make it

with the conditions and everything, there are errors in the main function I think.

and I am not sure how to really make the main function.

Here is my code: > 0. It should have the following prototype: I need to findn! using the power function. I am trying to create a code I don't know how to copy it.

Sets *p to the n'th power of a and returns 0, ercept * when n

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!