CIS115 Week 4 Exercise1 - 18893

Solution Posted by


Rating : No Rating
Solution Detail
Price: $15.00
  • From: Computer Science,
  • Posted on: Thu 18 Jul, 2013
  • Request id: None
  • Purchased: 0 time(s)
  • Average Rating: No rating
Request Description

CIS115 Week 4 Exercise1


Assignment:You will need to design an application that will receive the weight of a parcel and calculate and display the cost per kg and the delivery charge for that parcel.  Calculate the charges using the following data:

            Parcel Weight (kg)                                         Cost per kg ($)

            < 2.5 kg                                                           $3.50 per kg

            2.5 to 5 kg                                                       $2.85 per kg

            > 5kg                                                               $2.45 per kg

Make sure that the weight entered is a positive number, otherwise your program should display an error message and end.  Test your algorithm with the following THREE sets of data: 

Test case 1:  package weight of 2 kg

Test case 2:  package weight of 5 kg

Test case 3:  package weight of 6 kg



When completed staple the following documents together neatly in 1,2,3,4 order:

1)      This instruction sheet first

2)      The IPO Chart, second

3)      The Pseudocode, third

4)      The Flowchartand output example last.

Solution Description

My Id