For this question, you do not have to write the program. Find the error and correct the code.
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
shiping charges.
Correct the following code so that it computes the correct shipping charges.
if(0 < numOfItemsBought || numOfItemsBought < 5)
shipingCharges = 5.00 * numOfItemsBought;
else if (5 <= numOfItemsBought && numOfItemsBought < 10);
shipingCharges = 2.00 * numOfItemsBought;
else
shipingCharges = 0.00;