Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -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/]


10 changes: 10 additions & 0 deletions CONTRIBUTING.md.
Original file line number Diff line number Diff line change
@@ -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).
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ <h1>Simple Interest Calculator</h1>
<button onclick="compute()">Compute</button>
</body>
</html>
<!-- This is a test comment for assignment -->
28 changes: 28 additions & 0 deletions simple-interest.sh
Original file line number Diff line number Diff line change
@@ -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"