Construct a solution algorithm for the following programming problems. To obtain your final solution, you should:
• define the problem
• group the activities into modules (also consider the data that each module requires)
• construct a hierarchy chart
• establish the logic of the mainline using pseudocode
• develop the pseudocode for each successive module in the hierarchy chart
• desk check the solution algorithm.
The Mitre-11 hardware outlets require an inventory control program that is to accept order details for an item, and generate a shipping list and a back order list.
Design an interactive program that will conduct a dialogue on the screen for the input values, and print two reports as required. The screen dialogue is to appear as follows:
If an item number does not have precisely five digits, an error message is to appear on the screen. If the quantity on hand is sufficient to meet the order (order quantity <= quantity on hand), one line is to be printed on the shipping list. If the quantity on hand is insufficient to meet the order (order quantity > quantity on hand), the order is to be filled partially by whatever stock is available. For this situation, one line should appear on the shipping list with the appropriate number of units shipped (quantity on hand) and a message ‘Order partially filled’. An entry for the balance of the order (order quantity – quantity on hand) is to be printed on the back order list.
If the quantity on hand is zero, the message ‘Out of stock’ is to appear on the shipping list, and an entry for the full order quantity is to be printed on the back order list.
Your program is to continue to process inventory orders until a value of zero is entered for the item number.
Report layouts for the shipping list and back order list are as follows:
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.