From e5a137fe88601355f57ff762e3c2e2b011180608 Mon Sep 17 00:00:00 2001 From: PunuruMeghnaReddy <2420030401@klh.edu.in> Date: Thu, 4 Sep 2025 14:06:44 +0530 Subject: [PATCH 1/2] Added project files --- CODE_OF_CONDUCT.md | 13 +++++++++++++ CONTRIBUTING.md | 16 ++++++++++++++++ LICENSE | 10 ++++++++++ README.md | 14 ++++++++++++++ simple-interest.sh | 13 +++++++++++++ 5 files changed, 66 insertions(+) create mode 100644 CODE_OF_CONDUCT.md create mode 100644 CONTRIBUTING.md create mode 100644 LICENSE create mode 100644 README.md create mode 100644 simple-interest.sh diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000000..6dd87231b6 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,13 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge +We as contributors and maintainers pledge to make participation in our project a harassment-free experience for everyone. + +## Our Standards +- Use welcoming and inclusive language +- Be respectful of differing viewpoints +- Gracefully accept constructive criticism +- Show empathy towards other community members + +## Enforcement +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the repository maintainers. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000..0d9fc9b1dc --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,16 @@ +# Contributing Guidelines + +Thank you for your interest in contributing to this project! + +## How to Contribute +1. Fork the repository. +2. Create a new branch for your changes. +3. Make your changes and commit them with a meaningful message. +4. Push the branch and create a Pull Request. + +## Code Style +- Follow standard shell scripting practices. +- Keep code simple and readable. + +## Reporting Issues +If you find a bug or have a feature request, please open an issue in the repository. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000..e8364e9997 --- /dev/null +++ b/LICENSE @@ -0,0 +1,10 @@ + +--- + +## 📄 2. `LICENSE` +When you create it on GitHub, **choose Apache License 2.0 template**. +If you want raw text, here’s the header (GitHub will auto-fill the rest): +```text + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ diff --git a/README.md b/README.md new file mode 100644 index 0000000000..fbdc740119 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# Final Project - Simple Interest Calculator + +This repository is created as part of the hands-on labs for the GitHub & Git CLI final project. + +## Contents +- `simple-interest.sh`: A shell script that calculates simple interest. +- `LICENSE`: Apache 2.0 License file. +- `README.md`: Project documentation. +- `CODE_OF_CONDUCT.md`: Contributor Code of Conduct. +- `CONTRIBUTING.md`: Guidelines for contributions. + +## How to Run the Script +```bash +bash simple-interest.sh diff --git a/simple-interest.sh b/simple-interest.sh new file mode 100644 index 0000000000..fa4e74e210 --- /dev/null +++ b/simple-interest.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# Simple Interest Calculator +# Formula: SI = (P * T * R) / 100 + +echo "Enter Principal:" +read P +echo "Enter Time:" +read T +echo "Enter Rate:" +read R + +SI=$((P * T * R / 100)) +echo "Simple Interest = $SI" From 962540ea1505084828dd81bd13039085dad10e80 Mon Sep 17 00:00:00 2001 From: PunuruMeghnaReddy <2420030401@klh.edu.in> Date: Sat, 6 Sep 2025 09:56:53 +0530 Subject: [PATCH 2/2] Fixed typo in README --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fbdc740119..82f28a1865 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,21 @@ # Final Project - Simple Interest Calculator +# jbbmo-Introduction-to-Git-and-GitHub -This repository is created as part of the hands-on labs for the GitHub & Git CLI final project. +This repository is for learning Git and GitHub. + +This repo is created as part of the hands-on labs for the GitHub & Git CLI final project. +# This is a sample edit for bug-fix-typo branch ## Contents -- `simple-interest.sh`: A shell script that calculates simple interest. +- `simple-interest.sh`: A she script that calculates simple interest. - `LICENSE`: Apache 2.0 License file. - `README.md`: Project documentation. - `CODE_OF_CONDUCT.md`: Contributor Code of Conduct. -- `CONTRIBUTING.md`: Guidelines for contributions. +- `CONTRIBUTING.md`: Guidelines for the contributions. +This line was added to fix a typoerror as part of the GitHubs project task. +## Update +Fixed a small typo as part of the GitHub exercise. + ## How to Run the Script ```bash