Even with the updated code, the check is failing.
These are 2 solutions I have tried & with both of them I am getting expected results but still its showing wrong.
Solution 1:
A=$1
B=$2
echo “The total price for items is $((A*B)) dollars”
Solution 2:
price=$(( $1*$2 ))
echo “The total price for items is ${price} dollars”