*
Computer Programming I
Programming Assignment 5 - Package1.java *

Problem

Given user input weight, length, width, and height, write a program to decided whether or not a package is too large to be shipped.

Specification

A package weighing 100 pounds or more is too large.
Output message: Package is too large.

A package with volume greater than 10 cubic feet is too large.
Output message: Package is too large.

Otherwise, output message: Package is within limits.

Discussion and Assumptions

All fields must be entered before limits are checked.

Assume correct weight input ( 1 - 999 pounds ).
Assume correct dimension input ( 1 - 10 feet ).
Assume integer input.

Use the standard program header as shown in Assignment 2.

Create an algorithm named Package1.txt first before coding your program.

Comment your program for readability and ease of maintenance.

Be sure to test your program thoroughly!


Submission

Place your algorithm and source file in your H:\CP1\Java\BookClasses folder by the due date. There is nothing to hand in.

*

This page maintained by bobh@hesston.edu