A calculator that calculates simple interest given principal, annual rate of interest and time period in years.
p, principal amount
t, time period in years
r, annual rate of interest
simple interest = p * t * r / 100
This repository contains a Bash script named simple-interest.sh.
The script asks the user to enter the principal amount, annual rate of interest, and time period in years. Then it calculates and displays the simple interest.
bash simple-interest.sh