Skip to content

Inaryuta/github-final-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

README.md

Simple Interest Calculator

This project provides a Python script to calculate simple interest. It is the first step in transitioning from Subversion (SVN) to Git for version control at our micro-finance startup. The goal of this repository is to serve as an example for hosting code on GitHub and to follow best practices for open-source contributions.

Features

  • Easy-to-use script to calculate simple interest.
  • Designed for educational and demonstration purposes.

Formula Used

The formula for calculating simple interest is:

[ SI = \frac{P \times R \times T}{100} ]

Where:

  • P is the principal amount.
  • R is the annual interest rate.
  • T is the time period in years.

Calculator Details

A calculator that calculates simple interest given principal, annual rate of interest, and time period in years.

Input:

  • p: principal amount
  • t: time period in years
  • r: annual rate of interest

Output:

  • simple interest = p * t * r

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/simple-interest-calculator.git
  2. Navigate to the project directory:

    cd simple-interest-calculator
  3. Run the script:

    python simple_interest.py

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages