Skip to content

Commit 56c7e51

Browse files
committed
fix: correct typo in README
1 parent 129c7d8 commit 56c7e51

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

README.md

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

3-
## Simple Interest Calculator
3+
This is a simple bash script to calculate **Simple Interest** given the principal amount, annual rate of interest, and time period in years. It is intended as a beginner-friendly open-source project to demonstrate basic shell scripting and Git/GitHub workflows.
44

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

7-
```
6+
## Input and Output
7+
8+
```bash
89
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
10+
p - Principal amount
11+
t - Time period in years
12+
r - Annual rate of interest (%)
13+
14+
Output:
15+
simple interest = (p _ t _ r) / 100
1416
```

0 commit comments

Comments
 (0)