Question: (C++) Need major help in soda machine code. It must follow the diagram exactly no more no less. (Crucial) If user puts in money and
Write a program that uses a finite state-machine to simulate a soft drink vending machine. It should implement the state-diagram from the class lecture, and use a switch-statement. You should provide two drink choices, and keep track of inventory. Use an enum for the states
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
