Write a class encapsulating the concept of an investment, assumingthat the investment has the following attributes: the name of theinvestor, the amount of the investment, and the static interest rate atwhich the investment will be compounded. Include a...