I want to be able to display (BASE ^exponent = answer) 10 times. I want to increment the exponent each time through the loop as well and get a new answer. What am I doing wrong in this code?
I can not even compile your program without receiving an error for the pow function on line 17. I changed the types to float, and it worked flawlessly. http://cplusplus.com/reference/clibrary/cmath/pow/