A package weighing 100.0 pounds or more is overweight. Output message: Package is within weight limits. -or- Package is 99.9 pounds overweight. A package with volume greater than 10 cubic feet is oversize. Output message: Package is within size limits. -or- Package is 99 cubic feet oversize. If package is within weight and size limits, output message: Ship package.
Assume correct weight input (positive real number).
Assume correct dimension input (positive integer).
Create your program documentation as Package.txt. You may use this sheet as partial documentation but should still write the algorithm including constants and variables.
You are expected to use functional decomposition to solve this problem. Include a module interface chart with your algorithm showing all input and output parameters.
Use the standard program header as shown in class.
Comment your program for readability and ease of maintenance. Include preconditions and postconditions for each method or function.
Include a test plan with your algorithm showing all the cases you will use to test your program and their expected outcome. Be sure to test your program thoroughly!
Don't start coding your program until you have completed your algorithm, module interface chart, and test plan!
This page maintained by bobh@hesston.edu