We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52b5771 commit 25618bcCopy full SHA for 25618bc
README.md
@@ -13,4 +13,4 @@ Output
13
simple interest = p*t*r
14
```
15
16
-_© 2022 XYZ, Inc._
+_© 2023 XYZ, Inc._
simple-interest.sh
@@ -21,6 +21,6 @@ read r
21
echo "Enter time period in years:"
22
read t
23
24
-s=$(expr $p \* $t \* $r / 100)
+s=$$((p * t * r / 100))
25
echo "The simple interest is: "
26
echo $s
0 commit comments