From 855b0f16f32272958839d22dbb79933aaed9aa95 Mon Sep 17 00:00:00 2001 From: PheanoukHun Date: Sun, 29 Jun 2025 20:39:16 -0500 Subject: [PATCH 1/3] temp --- .github/ISSUE_TEMPLATE/close_pr.yml | 14 ++++++++++++++ README.md | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/ISSUE_TEMPLATE/close_pr.yml diff --git a/.github/ISSUE_TEMPLATE/close_pr.yml b/.github/ISSUE_TEMPLATE/close_pr.yml new file mode 100644 index 0000000000..0d0cc57ea9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/close_pr.yml @@ -0,0 +1,14 @@ +name: Close Pull Request + +on: + pull_request_target: + types: [opened] + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: superbrothers/close-pull-request@v3 + with: + # Optional. Post a issue comment just before closing a pull request. + comment: "Congratulations! You have completed the lab. Closing for maintainence purpose." diff --git a/README.md b/README.md index b103466139..baed41154a 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,4 @@ Output simple interest = p*t*r ``` -_© 2022 XYZ, Inc._ +_© 2025 XYZ, Inc._ From 52b57715d05da1a4b277ec01a8924ed0f0d04220 Mon Sep 17 00:00:00 2001 From: PheanoukHun Date: Sun, 29 Jun 2025 20:53:39 -0500 Subject: [PATCH 2/3] Restart Check --- .github/ISSUE_TEMPLATE/close_pr.yml | 14 -------------- README.md | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/close_pr.yml diff --git a/.github/ISSUE_TEMPLATE/close_pr.yml b/.github/ISSUE_TEMPLATE/close_pr.yml deleted file mode 100644 index 0d0cc57ea9..0000000000 --- a/.github/ISSUE_TEMPLATE/close_pr.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Close Pull Request - -on: - pull_request_target: - types: [opened] - -jobs: - run: - runs-on: ubuntu-latest - steps: - - uses: superbrothers/close-pull-request@v3 - with: - # Optional. Post a issue comment just before closing a pull request. - comment: "Congratulations! You have completed the lab. Closing for maintainence purpose." diff --git a/README.md b/README.md index baed41154a..b103466139 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,4 @@ Output simple interest = p*t*r ``` -_© 2025 XYZ, Inc._ +_© 2022 XYZ, Inc._ From 25618bc330c607d8975d400c591a5e657a454db4 Mon Sep 17 00:00:00 2001 From: PheanoukHun Date: Sun, 29 Jun 2025 20:58:04 -0500 Subject: [PATCH 3/3] Changed the README File's Year of Copyright and Changed the calculation in the simple-interest.sh file's calculation line to make it more readible --- README.md | 2 +- simple-interest.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b103466139..2a2b1d78df 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,4 @@ Output simple interest = p*t*r ``` -_© 2022 XYZ, Inc._ +_© 2023 XYZ, Inc._ diff --git a/simple-interest.sh b/simple-interest.sh index 27a60fcb55..66ba972e4a 100755 --- a/simple-interest.sh +++ b/simple-interest.sh @@ -21,6 +21,6 @@ read r echo "Enter time period in years:" read t -s=$(expr $p \* $t \* $r / 100) +s=$$((p * t * r / 100)) echo "The simple interest is: " echo $s