Calculate the power of a base raised to an exponent.
# The user inputs a non-negative integer x and k. # The program calculates x raised to the power of k, the sum of the first x perfect squares, and the number of ways of picking k objects from n ...