Skip to content

KlausAlberts/github-final-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

github-final-project

simple-interest.sh is a Linux shell script that calculates simple interest given principal, annual rate of interest and time period in years.

Installation

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

Run the script using ./simple-interest.sh

Usage

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

Contributing

Please read our contribution guidelines for details of how you can get involved, and Code of Conduct for information about how to participate.

License

Apache License, Version 2.0

About

Introduction to Git and GitHub

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages