Skip to content

About

Introduction to Git and GitHub

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

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

Code of conduct

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages