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 c8dcc47 commit ff24ee7Copy full SHA for ff24ee7
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=$(expr ($p * $t * $r )/ 100)
25
echo "The simple interest is: "
26
echo $s
0 commit comments