Define You are being assigned the application problem described below. Read the Problem Statement carefully. Document all givens and any assumptions you make. Must have at least 2 of each (givens and assumptions) for full credit. Represent/Plan Create an algorithm (detailed set of step-by-step instructions) and flowchart for the online sale process described below. Document Submit both the algorithm and flowchart in one single pdf file. Problem 1 Background Industrial and systems engineers often work on logistics problems. Logistics can range from supply chain management and production logistics to distribution logistics. Problem Statement You are an industrial engineer running a small local factory that produces wood toys. Currently, the factory only sells the toys to local stores; which resale them. The owner wants to expand the business by selling directly to the customers through their website. You have been asked to write a procedure for the online sale process. Once the order is placed on the website, the customer is requested to input their payment information. If it's not approved, the order is refused. If the payment method is accepted, the system must check if the product ordered is already available in the current inventory. If so, it can be shipped to the customer. In case the product is not available in stock, it must first be manufactured. Before manufacturing a toy, all the materials required for production must be checked for. If the materials are not already available at the factory, they need to be ordered. After they arrive, an inspection must be conducted to confirm they are all in good conditions. If the quality is not acceptable, the materials need to be ordered again. Once the material is ready, the product can be manufactured. The factory has two production lines, A and B. Before scheduling production, the system must check if line A is available. In case line A is currently in use, it then checks the availability of line B. If none are available, then the system must continue to check until it can finally schedule production of the toy. After the toy is manufactured, the final product must also pass a quality inspection. If approved, it can then be shipped to the customer. If the toy fails inspection, it must be produced again. After the product is shipped the payment is processed. The system then waits for the carrier to confirm that the product has arrived and sends out a feedback email. If any issues are reported, the customer is contacted to solve it and another feedback email is sent out. If positive or no feedback is received the process is considered successful