Question

I dont know how to make this program
a.write a program that implements the definition of the function (power),
(i) is the base and (j) is the exponent power(i,j)=i power of j

b.write a main function to test your function
What have you got so far?

Are you having problems with how powers work?
yes
I dont know how to make this program
Here's a good way to go about it:

1. Write out the math part on paper
2. Convert the calculations into functions
3. Use the functions in the program

I use the method alot and its a good place to start.
can you make this program?
Yes. And if it were my assignment I would have already made it.
Can I make it for you? No. Will I make it for you and post it? No. Will anyone make it for you? No.

If you make it, make mistakes in it and post the code that gives errors I'll help.
Can you make it for me?plllllz
because i dont know it
Last edited on
Oh. No.
It's not my work, it's immoral for me to do your work and it's against the rules.
Yes. And if it were my assignment I would have already made it.
Had to LOL at that!
ahmed270292 wrote:
Can you make it for me?plllllz
because i dont know it
Is because you don't know it you should do it. You won't learn anything if someone did your assignment for you.
This is a good starting point: http://en.wikipedia.org/wiki/Exponentiation
Something tells me he need's two starting points: http://www.cplusplus.com/doc/tutorial/
Topic archived. No new replies allowed.