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
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Introduction to Git and GitHub
# Simple Interest Calculator

## Simple Interest Calculator
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.

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

```
## Input and Output

```bash
Input:
p, principal amount
t, time period in years
r, annual rate of interest
Output
simple interest = p*t*r
```
p - Principal amount
t - Time period in years
r - Annual rate of interest (%)

_© 2022 XYZ, Inc._
Output:
simple interest = (p * t * r) / 100
```