//Interest Rate Program // F = P{(1 + r/n))^(nt)} /* where F = future value of the investment after t years, where P = present value of the investment (initial principal invested), where r = annual compound interest rate (expressed as a decimal number), where n = number of compounding periods per year, and where t = time (expressed in years). */ //Robert Walliczek #include #include #include float interate, interest; float time, repeat_time; float money; double balance; double x, y, z; main() { cout<<"Welcome. This program calculates monitary gain."<>money; cout<<"Enter the interest rate in percent: "; cin>>interest; cout<<"Enter the number of years: "; cin>>time; cout<<"Enter the # of times it's compounded per year: "; cin>>repeat_time; //x = 2; interate = interest/100; x = (1 + (interate / repeat_time)); //z = (interate/repeat_time); //x = (money * (1+ z)); y = (repeat_time * time); //double pow(double x, double y); z = pow(x, y); balance = money * z; //cout<<"The interest rate is: "<