Skip to content

Commit e2a1c73

Browse files
authored
Update README.md
1 parent 83026bb commit e2a1c73

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Introduction to Git and GitHub
22

3-
## Simple Interest Calculator
3+
## Simple Interest Calculator
4+
A calculator that calculates simple interest given principal, annual rate of interest, and time period in years.
45

5-
A calculator that calculates simple interest given principal, annual rate of interest and time period in years.
6+
### Input:
7+
- **P**: Principal amount
8+
- **T**: Time period in years
9+
- **R**: Annual rate of interest
10+
11+
### Output:
12+
- **Simple Interest** = P × T × R
613

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
1414
```
1515
16-
_© 2022 XYZ, Inc._
16+
2025 XYZ, Inc._

0 commit comments

Comments
 (0)