List the names of subroutines of the hierarchy chart, and then write complete pseudocode for the following problem. You will not have to create a data dictionary for this exercise.
Problem:
A sporting goods store ships a lot of baseballs. They only have one size shipping-box. Twenty-four baseballs 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 baseballs to be shipped. The information is given as follows:
- The output will consist of a screen display showing the number of shipping-boxes needed for a customer's order.
- The input will consist of the number of baseballs ordered by a customer, entered from the keyboard.
- The processing will compute the number of boxes needed to fulfill the order. The number of boxes is computed as: number of baseballs ordered divided by the number of baseballs 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.