Question: ( Please verify that everything works with screenshot proof. This question has been answered many times but every answer doesnt follow the checklist added please
Please verify that everything works with screenshot proof. This question has been answered many times but every answer doesnt follow the checklist added please follow and verify for a thumbs up Thank you
Insert a quarter cents
Push the return button verify cents came back
Insert cents
Insert cents
Verify cents change issued, and indications that you're in the 'Wait For Selection' state
Push the return button verify cents came back
Insert cents
Choose drink#; Verify drink# dispensed
Insert cents
Choose drink#; Verify drink# dispensed
Insert cents
Choose drink#; Verify drink# dispensed
Insert cents
Choose drink#; Verify "Sold out of your selection" message, and return to 'Wait For Selection' state
Choose drink# instead; Verify drink# dispensed
Insert cents
Choose drink#; Verify "All sold out" message; Verify return of cents; Verify return to 'Enter$ stateECE
Class Project
Mandatory Write a program that uses a finite statemachine to simulate a soft drink vending machine. It should implement the statediagram from the class lecture, and use a swi tchstatement. You should provide two drink choices, and keep track of inventory. Use an enum for the states. All drinks are cents.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
