Skip to content

Commit aa0f6a1

Browse files
authored
Update README with input and output specifications
Added input and output format details for the calculator.
1 parent b2457e1 commit aa0f6a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
A calculator that calculates simple interest given principal, annual rate of interest and time period in years.
22

3+
```
4+
35
Input:
46
p, principal amount
57
t, time period in years
68
r, annual rate of interest
79
Output
810
simple interest = p*t*r
11+
```

0 commit comments

Comments
 (0)