Table of Contents

This is not a current assignment. If you are currently enrolled in SE1010, do not do this assignment expecting to receive credit for it.

Lab 8: Arrays

Summary

In Lab 6 you were given a ShippingCalculator and Truck class and asked to implement a Package class. For this assignment you will modify these three classes to add functionality.

Modify the classes from Lab 6 so that the following is possible:

Package #: <weight> lbs, <length> x <width> x <height> [: <Package name>]

The example list provided by a truck may look something like this:

Package 1:     10.0 lbs, 12.0 x 14.0 x 16.0
Package 2:      3.0 lbs,  3.0 x  4.0 x  6.0
Package 3:     15.0 lbs, 72.0 x 10.0 x  6.0 : Very long package
Package 4: 100000.0 lbs, 20.0 x 20.0 x 20.0 : HEAVY

Notes

Deliverables