From eb5ec95791d6f61f5f4f16094678002e6e94657f Mon Sep 17 00:00:00 2001 From: Michael Shields Date: Tue, 9 Apr 2024 19:12:10 +0100 Subject: [PATCH] Update Basic Operators.md Update the solution to match the expected output --- tutorials/learnshell.org/en/Basic Operators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/learnshell.org/en/Basic Operators.md b/tutorials/learnshell.org/en/Basic Operators.md index e57244010..5a15d0368 100644 --- a/tutorials/learnshell.org/en/Basic Operators.md +++ b/tutorials/learnshell.org/en/Basic Operators.md @@ -57,6 +57,6 @@ COST_WATERMELON=23 COST_BASKET=1 -TOTAL=$(($COST_PINEAPPLE + $COST_BANANA + $COST_WATERMELON + $COST_BASKET)) +TOTAL=$(($COST_PINEAPPLE + $COST_BANANA * 2 + $COST_WATERMELON * 3 + $COST_BASKET)) echo "Total Cost is $TOTAL"