Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@

## Simple Interest Calculator

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

```
Input:
p, principal amount
t, time period in years
r, annual rate of interest
Output
simple interest = p*t*r
```

_© 2022 XYZ, Inc._
This is a simple Bash script that calculates the simple interest based on the principal amount, annual rate of interest, and the time period in years.

### Formula:


### Inputs:
- `p`: Principal amount
- `r`: Annual rate of interest (in %)
- `t`: Time period (in years)

### Output:
- The calculated simple interest value

---

© 2025 Alexe Vasile-Emilian