Question: Construct a solution algorithm for the following problems. Your solution should contain: A defining problem A pseudo code algorithm A desk check of the algorithm

Construct a solution algorithm for the following problems. Your solution should contain:
A defining problem
A pseudo code algorithm
A desk check of the algorithm
Three test cases for each question. Two valid and one error test case
Question 1
The Delivery Service Provider provides the parcel delivery service within Singapore. The delivery charge is
calculated based on the Box size and parcel weight shown below in the table,
Box Size -small Delivery Charge Less than 3 kg $8.00
3-5 kg $12.00
Medium Less than 5 kg $15.00
5-10 kg $22.00
Large Less than 10 kg $25.00
10-20 kg $35.00
Design an algorithm that will prompt for, receive the box size and parcel weight, and calculate the delivery
charge and print the value.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!