Answer to Question #62891 in C++ for Daniel Greef

Question #62891
Hi uhm... Could you help me make a program that will simulate the base and exponent

Example: base = 2 and exponent = 3

for ( exponent; exponent >0;)
{
exponent = exponent - 1;
base = base * base;
cout << base;
}

Final output = 8


BUT now I need it using functions, and it's damn hard. I cannot use while, do while, or for.

Only functions.
1
Expert's answer
2016-10-23T10:30:47-0400
Dear Daniel Greef, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS