Skip to content

Commit 25618bc

Browse files
committed
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
1 parent 52b5771 commit 25618bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ Output
1313
simple interest = p*t*r
1414
```
1515

16-
_© 2022 XYZ, Inc._
16+
_© 2023 XYZ, Inc._

simple-interest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ read r
2121
echo "Enter time period in years:"
2222
read t
2323

24-
s=$(expr $p \* $t \* $r / 100)
24+
s=$$((p * t * r / 100))
2525
echo "The simple interest is: "
2626
echo $s

0 commit comments

Comments
 (0)