Prepare a flowchart of the operations required to support the coffee-vending machine of given Problem.
Problem
Develop the control system of an automatic coffee-vending machine. Insertion of a coin and pushing of buttons provides a paper cup with coffee that can be black, with sugar, with cream, or with both. Describe the features of the machine as a discretestate system.