Skip to content

Commit 4c1ce8d

Browse files
committed
update: README.md to simplify the description and remove the formula and example for simple interest calculation
1 parent d9d3439 commit 4c1ce8d

File tree

1 file changed

+13
-25
lines changed

1 file changed

+13
-25
lines changed

README.md

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,16 @@
22

33
## Simple Interest Calculator
44

5-
A calculator that computes **simple interest** given the principal amount, annual rate of interest, and time period in years.
6-
7-
### Formula
8-
\[
9-
\text{Simple Interest} = \frac{P \times R \times T}{100}
10-
\]
11-
12-
Where:
13-
- **P** = Principal amount
14-
- **R** = Annual rate of interest (in %)
15-
- **T** = Time period (in years)
16-
17-
### Example
18-
19-
**Input:**
20-
- Principal (P) = 1000
21-
- Rate (R) = 5%
22-
- Time (T) = 2 years
23-
24-
**Output:**
25-
- Simple Interest = (1000 × 5 × 2) / 100 = **100**
26-
27-
---
28-
29-
© 2022 XYZ, Inc.
5+
A calculator that calculates simple interest given principal, annual rate of interest and time period in years.
6+
7+
```
8+
Input:
9+
p, principal amount
10+
t, time period in years
11+
r, annual rate of interest
12+
Output
13+
simple interest = p*t*r
14+
```
15+
16+
_© 2022 XYZ, Inc._
17+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

0 commit comments

Comments
 (0)