Skip to content

Repository files navigation

Simple Interest Calculator

A Bash script to calculate simple interest based on user input.

Description

This project provides a simple command-line tool to calculate simple interest using principal, rate, and time period.

Formula

Simple Interest = (Principal x Rate x Time) / 100

Usage

  1. Clone the repository
  2. Run the script: bash simple-interest.sh
  3. Enter the values when prompted:
    • Principal amount
    • Rate of interest
    • Time period (in years)

Example

  • Principal = 1000
  • Rate = 5
  • Time = 2
  • Simple Interest = (1000 x 5 x 2) / 100 = 100

Files

  • simple-interest.sh - Main Bash script for calculation

License

Apache 2.0

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages