The shipping clerk at the rinky dooflingy company is faced


The shipping clerk at the Rinky Dooflingy Company is faced with the following problem: Dooflingies are very deilicate and must be shipped in special containers. These containers are available in the four sizes huge, large, medium, and small, which can hold 50, 20, 5, and 1 dooflingy, respectively. Write a program that reads the number of dooflingies to be shipped and displays 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 space. Use constant definitions for the number of dooflingies each type of container can hold. The output should be similar to the following:
Container Number
Huge 21
Large 2
Medium 1
Small 3

Execute the program for 3, 18, 48, 78, and 10598 dooflingies.

Solution Preview :

Prepared by a verified Expert
Programming Languages: The shipping clerk at the rinky dooflingy company is faced
Reference No:- TGS01260380

Now Priced at $30 (50% Discount)

Recommended (98%)

Rated (4.3/5)