Question: 4. (2 marks) Fill in the missing code fragments where underlined. /* This code is intended to calculate and display the cost of shipping a

4. (2 marks) Fill in the missing code fragments where underlined. /* This code is intended to calculate and display the cost of shipping a package based on its weight. The cost is calculated as follows: $7 for packages weighing less than five pounds, $12 for packages weighing five pounds or more but less than twelve pounds, and $20 for packages weighing twelve pounds or more WM //missing if condition if (weight
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
