Arithmetic operation lab solution 3

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”

@ganna.manoj
Your solutions are working fine, but you need to name the script as “calculate-price.sh” not “calculation.sh” to validate it.

Okay Ayman, got it. I have used the different name for creating file, thanks for the clarification.