Solved

Write an If-Else Statement to Compute the Amount of Shipping

Question 36

Essay

Write an if-else statement to compute the amount of shipping due on an online sale.If the cost of the purchase is less than $20,the shipping cost is $5.99.If the cost of the purchase over $20 and at most $65,the shipping cost is $10.99.If the cost of the purchase is over $65,the shipping cost is $15.99.

Correct Answer:

verifed

Verified

ifcostOfPurchase < 20)
shippin...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents