sum = $(expr "$num1" + "$num2")
echo $sum
sum = $((num1 + num2))
echo $num1 + $num2;
echo `$num1` + `$num2`;
Note: only a member of this blog may post a comment.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.