Write a function ``power'' that expects two arguments, ``x'' and ``n'', and returns x to the power n. The argument x is of type double, n is of type int, and the returned value is of type double. You may assume that ``n'' is not negative.
Do all of the prompting for input and displaying of results in the main function.
Homework
There is no homework for this lesson.
Hamlet Project