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
20 changes: 20 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.
Contribution Guidelines!

This document outlines the guidelines for contributing to the development of Simple Interest and Compound Interest Calculations.

Code Style
Please follow the coding style and conventions used in the existing codebase. This helps maintain consistency across the project.

Documentation
Ensure that your contributions are well-documented. Include comments in your code where necessary and provide a clear and concise description of your changes in the pull request.

Testing
Before submitting a pull request, make sure your changes have been tested thoroughly. Include relevant test cases and ensure that existing tests pass.

Issue Tracker
Check the issue tracker for any open issues or feature requests. If you're working on something, please comment on the issue to let others know.

Code Review
All contributions will go through a code review process. Be open to feedback and be willing to make changes if necessary. Code reviews help maintain code quality and consistency.

Thank you for your contribution!
6 changes: 3 additions & 3 deletions simple-interest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Author: Upkar Lidder (IBM)
# Addtional Authors:
# <your Github username>
# <Divya Sree>

# Input:
# p, principal amount
Expand All @@ -21,6 +21,6 @@ read r
echo "Enter time period in years:"
read t

s=$(expr $p \* $t \* $r / 100)
si=$(expr $p \* $t \* $r / 100)
echo "The simple interest is: "
echo $s
echo "$si"