We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e4d874 commit 6be113bCopy full SHA for 6be113b
arithmeticOperations.sh
@@ -2,7 +2,7 @@
2
a=1
3
b=2
4
c=3
5
-echo "$(($a+$b*$c))"
6
-echo "$(($a%$b+$c))"
7
-echo "$(($c+$a/$b))"
8
-echo "$(($a*$b+$c))"
+echo "$((a+b*c))"
+echo "$((a%b+c))"
+echo "$((c+a/b))"
+echo "$((a*b+c))"
0 commit comments