Write a program that inputs principal amount, rate of interest and total time. It calculates the compound interest and displays it.

Write a program that inputs principal amount, rate of interest and total time. It calculates the compound interest and displays it.

Output

Enter the principal amount: 3
Enter the rate of interest (in percentage): 4
Enter the time period (in years): 5
Compound interest after 5 years: 0.649959