Calculate compound interest
Compound interest calculated by this formula "A = P(1 + r / n ) ^ nt". Where
A = Final amount
P = Principal balance
r = Interest rate
n = number of times interest applied per time period
t = number of time periods elapsed
For example.
Principal : 1500.0
Time : 3.0
Rate : 7.3
Compound Interest : 1853.0640255
Principal : 170.4
Time : 7.0
Rate : 3.4
Compound Interest : 215.334373801618
-
1) Program to calculate compound interest in c++
2) Program to calculate compound interest in c
3) Program to calculate compound interest in golang
4) Program to calculate compound interest in node js
5) Program to calculate compound interest in java
6) Program to calculate compound interest in c#
7) Program to calculate compound interest in vb.net
8) Program to calculate compound interest in python
9) Program to calculate compound interest in ruby
10) Program to calculate compound interest in swift
11) Program to calculate compound interest in kotlin
12) Program to calculate compound interest in php
13) Program to calculate compound interest in typescript
Please share your knowledge to improve code and content standard. Also submit your doubts, and test case. We improve by your feedback. We will try to resolve your query as soon as possible.
New Comment