Need someone can write these 2 function

Write a recursive function that does the following. Given a number, add all the digits and display the sum.

write a recursive function that raises 10 to the power of some number. Example 10 to the power of 2 is 100. Do not use the pow function.
Yes, I will do this for you. I take cash only Pounds Stirling. You will have to make the effort to find me, I will be the man sitting in the alley with a broken radio shouting obscenities at you. For the next few hours I will be duct taping pigeons together so that they fly better and block the government radio waves trying to read my thoughts. I look forward to meeting with you.
Last edited on
Anybody?
Nobody on this forum is going to do your homework for you. If you need help with concepts, people will be more than happy to help you, but you need to be the one doing your assignments.

I'd suggest posting the code you have so far for 2 reasons. One is to prove that you are actually trying and the other is to give the community here a picture as to what it is you're struggling with so that people can better assist you.

Regardless, if you're coming here looking for somebody to do your homework for you, you're in the wrong place.
Last edited on
Topic archived. No new replies allowed.