From 22cc7da1a4a4aa3a35cdf60384df8e09f7ccb71c Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 18 Jun 2025 13:07:16 -0400 Subject: [PATCH 1/4] Added a comment to index.html for assignment --- index.html | 1 + 1 file changed, 1 insertion(+) 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

+ From 5a1588afb51574ff156c16a12932bbc1880b9aed Mon Sep 17 00:00:00 2001 From: Duaahakro Date: Wed, 18 Jun 2025 23:04:06 +0500 Subject: [PATCH 2/4] Create CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CODE_OF_CONDUCT.md 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/] + + From 42fea38f0451f891ebd8c1c5ee191669bcc6448f Mon Sep 17 00:00:00 2001 From: Duaahakro Date: Wed, 18 Jun 2025 23:10:02 +0500 Subject: [PATCH 3/4] Create CONTRIBUTING.md. --- CONTRIBUTING.md. | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 CONTRIBUTING.md. 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). From 6c55781e905c7d5ffa0334d893774f85bb2c01d7 Mon Sep 17 00:00:00 2001 From: Duaahakro Date: Wed, 18 Jun 2025 23:17:26 +0500 Subject: [PATCH 4/4] Create simple-interest.sh --- simple-interest.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 simple-interest.sh 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"