Problem Statement 3

Develop a program that accepts a deposit amount and period of deposit. Calculate the maturity amount after the period of deposit. The bank pays 4% interest per year (compound interest) for any deposits made in the bank.

SAMPLE INPUT

Enter the initial deposit amount:
50000
Enter the annual_compound:
3
Enter the period_of_year:
3
Total interest value is: 56330.1573452152

Sample Program:

Sample Output:

Enter the initial deposit amount:
50000
Enter the annual_compound:
3
Enter the period_of_year:
3
Total interest value is: 56330.1573452152

Any queries leave a comment please and thanks for reading this post.

Leave a Reply

Your email address will not be published. Required fields are marked *