This is a simple investment calculator to determine the total amount earned from user input.
Information requested from user include:
○ The amount being deposited, stored as ‘P’. ○ The interest rate (as a percentage), stored as ‘i’. ○ The number of years of the investment. stored as ‘t’. ○ Choice between “simple” or “compound” interest.