diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 000000000..ca647e11d --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,9 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone... + +[You can use the full standard template here: https://www.contributor-covenant.org/version/2/0/code_of_conduct/] + + diff --git a/CONTRIBUTING.md. b/CONTRIBUTING.md. new file mode 100644 index 000000000..c13ef6845 --- /dev/null +++ b/CONTRIBUTING.md. @@ -0,0 +1,10 @@ +# Contributing Guidelines + +Thank you for considering contributing to this project! + +- Fork the repository. +- Create a new branch for your changes. +- Commit your changes with clear messages. +- Push to your fork and open a pull request. + +Please follow the [code of conduct](CODE_OF_CONDUCT.md). diff --git a/index.html b/index.html index 8a580ffb3..f8d0bb19a 100644 --- a/index.html +++ b/index.html @@ -14,3 +14,4 @@

Simple Interest Calculator

+ diff --git a/simple-interest.sh b/simple-interest.sh new file mode 100644 index 000000000..b0d20643a --- /dev/null +++ b/simple-interest.sh @@ -0,0 +1,28 @@ +#!/bin/bash +# Simple Interest Calculator + +echo "Enter Principal amount:" +read principal +echo "Enter Rate of interest:" +read rate +echo "Enter Time (in years):" +read time + +# Calculate Simple Interest +si=$(echo "scale=2; ($principal * $rate * $time) / 100" | bc) + +echo "Simple Interest is: $si" +#!/bin/bash +# Simple Interest Calculator + +echo "Enter Principal amount:" +read principal +echo "Enter Rate of interest:" +read rate +echo "Enter Time (in years):" +read time + +# Calculate Simple Interest +si=$(echo "scale=2; ($principal * $rate * $time) / 100" | bc) + +echo "Simple Interest is: $si"