Programming is about decomposing large problems into smaller problems. You need to solve the small problems, then combine the small solutions into a solution to the larger problem.

What do the different variables and portions of the equation represent?

You should be able to create an "compounding" (or similarly named) variable to represent the solution to [tex](1+i)^n[/tex] then use it's value in both places it appears.

Once you have that, you should be able to calculate the "numerator" and "denominator" then go from there.

This is a program that ask input from the user about the characteristics of a gemstone then prints to the screen. Things like color, price and name. I have written ...