diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e8046b81b2..16c745d2ed 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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! \ No newline at end of file diff --git a/simple-interest.sh b/simple-interest.sh index 27a60fcb55..bec63d2de8 100755 --- a/simple-interest.sh +++ b/simple-interest.sh @@ -4,7 +4,7 @@ # Author: Upkar Lidder (IBM) # Addtional Authors: -# +# # Input: # p, principal amount @@ -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"