A distributor of christmas items ships a lot of christmas


A distributor of Christmas items ships a lot of Christmas tree ornaments. They only have one size shipping-box. Sixteen ornaments will fill a shipping-box. Produce the pseudocode logic for an algorithm that will compute the number of shipping-boxes required for the number of ornaments to be shipped. The information is given as follows: 

The output should consist of a screen display showing the number of shipping-boxes needed for a customer's order. 

The input should consist of the number of ornaments ordered by a customer, entered from the keyboard.

The processing should compute the number of boxes needed to fulfill the order. The number of boxes is computed as: number of ornaments ordered divided by the number of ornaments that will fill a box. If there is a remainder, the number of boxes must be incremented by one. 

Note: Your solution should contain a mainline, and at least three subroutines.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: A distributor of christmas items ships a lot of christmas
Reference No:- TGS01294787

Now Priced at $20 (50% Discount)

Recommended (95%)

Rated (4.7/5)