Skip to content

Commit 6669fea

Browse files
Fixed README typo and improved formatting
1 parent 83026bb commit 6669fea

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22

33
## Simple Interest Calculator
44

5-
A calculator that calculates simple interest given principal, annual rate of interest and time period in years.
5+
A calculator that calculates simple interest given the principal amount, annual rate of interest, and time period.
66

77
```
88
Input:
99
p, principal amount
1010
t, time period in years
1111
r, annual rate of interest
12-
Output
13-
simple interest = p*t*r
12+
## Formula
13+
The formula for calculating simple interest is:
14+
simple interest = p*t*r
1415
```
1516

16-
_© 2022 XYZ, Inc._
17+
_© 2025 Simple Interest Project by XYZ, Inc._

0 commit comments

Comments
 (0)