If the number of items bought is less than 5, then the shipping charges are $5.00 for each item bought; if the number of items bought is at least 5, but less than 10, then the shipping charges are $2.00 for each item bought; if the number of items bought is at least 10, there are no shipping charges. Correct the following code so that it computes the correct shipping charges.
if (0 < numOfItemsBought || numOfItemsBought <> 5)
shippingCharges = 5.00 * numOfItemsBought;
else if (5 <= numOfItemsBought && numOfItemsBought < 10);
shippingCharges = 2.00 * numOfItemsBought;
else
shippingCharges = 0.00;
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.