87
Program to find the simple interest
Explanation
Simple Interest is the convenient method used in banking and economic sectors to calculate the interest charges on loans.It gets estimated day to day with the help of some mathematical terms.
Formula
Algorithm
- Define Principal, Interest and Time of loans.
- Apply in the formula.
- Print the Simple Interest.
Complexity
O(1)
Solution
Python
Output:
Simple Interest is: 750.0
C
Output:
Simple Interest is: 51000.000
JAVA
Output:
Simple Interest is: 3120.0
C#
Output:
Simple Interest is: 300.00
PHP
Output:
Simple Interest is: 200
Next Topic#