simple-interest.sh is a Linux shell script that calculates simple interest given principal, annual rate of interest and time period in years.
Log in to your Linux user account. Then open a terminal and create a new directory /home/<your_username>/git_repos.
Replace <your_username> with your user name.
Then change to the directory /home/<your_username>/git_repos and clone the repository
https://github.com/KlausAlberts/github-final-project.git into this directory.
To make the shell script executable, change the file attribute with sudo chmod +x simple-interest.sh.
Run the script using ./simple-interest.sh
Input:
p, principal amount
t, time period in years
r, annual rate of interest
Output
simple interest = p*t*r
Please read our contribution guidelines for details of how you can get involved, and Code of Conduct for information about how to participate.