You are on page 1of 2

CSC134 Greedy Ringy Manufacturing Company

Project Number

Project Number I

Project Name

DoFlingy

Project Filename

Project1_Firstname_Lastname (example: Project1_Jessica_Smith)

Chapter Review

Chapters 1 - 3

Points

50

Assistance

Project should be completed by the student. Student should not request


assistance from others (this includes instructors, lab or teaching assistants).

Project Description

The Greedy Ringy Manufacturing Company makes a common household item


called a doflingy. The Greedy Ringy Doflingy shipping clerk is faced with the
following problem: Doflingies are very delicate and must be shipped in
special, very expensive, containers. These containers are available in 4 sizes:
huge, large, medium, and small, which can hold, respectively, 50, 20, 5, and 1
doflingies.
Instructions:
1. Write a program that calculates the number of huge, large, medium, and
small containers needed to send the shipment in the minimum number of
containers and with the minimum amount of wasted container space.
2. Your program should prompt the user for their name, address, and the
number of doflingies ordered.
3. Your program should display the shipping information along with the
number of huge, large, medium and small containers used.
4. Your program's output should be formatted in the same manner as the
sample output.
5. Save your .cpp file using the Project1_Firstname_Lastname naming
format. Upload in Moodle.

Sample Output
Enter the name of the purchaser: Larry Smith
Enter street address: 122 Main Street
Enter city: Charlotte
Enter state: NC
Enter zip code: 23499
Enter the number of doflingies ordered: 150
Ship To: Larry Smith
122 Main Street
Charlotte, NC 23499
No. Doflingies: 150
Container Size
-------------Huge
Large
Med
Small

Number Required
--------------3
0
0
0

Grading Score Card: 50


OBJECTIVE

DESCRIPTION

User Interface Well


Designed
Required Value(s)
Correctly Calculated
Output Correctly
Formatted
Satisfies All Instructions
in Project Description

User prompts provide adequate direction and have a


professional, easy to read format.
Program displays correct output for all input values.
Algorithm is correct, efficient and elegant.
Ouput is formatted in a professional, easy to read format that
matches the sample output.
All instructions have been carefully read, understood and
followed.
Multi-line comment present at the beginning of the
program that contains: your Name, Date and
Purpose which fully describes what your program
does.
Adequate descriptive comments used throughout
program. There must be at least four comments to
receive credit for this step.
Proper indentation and spacing used throughout
program.
Proper naming conventions used throughout program.

Documentation and
Programming Style

TOTAL
Point Deduction
2

POINT
S
10
20
10
5

50
Program does not compile without errors.

-10

You might also like