Thanks to visit codestin.com Credit goes to github.com
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 04bd590 commit 49328b4Copy full SHA for 49328b4
Arthemetic-Operators.sh
@@ -10,11 +10,11 @@ read -r a
10
echo -e "Please enter another value: \c"
11
read -r b
12
13
-echo "a+b value is $(($a+$b))"
14
-echo "a-b value is $(($a-$b))"
15
-echo "axb value is $(($a*$b))"
16
-echo "a/b value is $(($a/$b))"
17
-echo "a%b value is $(($a%$b))"
+echo "a+b value is $(($a+$b))" #it will add both the values
+echo "a-b value is $(($a-$b))" #it will subtract b form a
+echo "axb value is $(($a*$b))" #it will multiply both a and b
+echo "a/b value is $(($a/$b))" #it will divide b from a
+echo "a%b value is $(($a%$b))" #it will give the remainder when a is divided by b
18
19
echo "Completed successfully"
20
0 commit comments