Answer to Question #62891 in C++ for Daniel Greef
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.
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!