CMIS 140
Lab exercise
Download and run the power.cpp program.
Modify the program so that it produces a table of the powers of 2, 3,
4, and 5 up to some user-specified exponent.
Modify the power function so that its first argument is a float. The
return type of the function will need to be float too. So will the
local variable p. Run it to produce a table of the powers of 2.5 and
2.7.
Modify that so that it produces powers of whatever number the user
wants, up to whatever power the user wants.