Skip to content

Commit 49328b4

Browse files
authored
Update Arthemetic-Operators.sh
1 parent 04bd590 commit 49328b4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Arthemetic-Operators.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ read -r a
1010
echo -e "Please enter another value: \c"
1111
read -r b
1212

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))"
13+
echo "a+b value is $(($a+$b))" #it will add both the values
14+
echo "a-b value is $(($a-$b))" #it will subtract b form a
15+
echo "axb value is $(($a*$b))" #it will multiply both a and b
16+
echo "a/b value is $(($a/$b))" #it will divide b from a
17+
echo "a%b value is $(($a%$b))" #it will give the remainder when a is divided by b
1818

1919
echo "Completed successfully"
2020

0 commit comments

Comments
 (0)