This flow chart shows the process for purchasing a product from a vending machine. A customer first selects the product they want, the machine checks if that product is available, and if it is the customer inserts coins for the amount. Then the machine checks if the inserted amount is correct and if so dispenses the product along with any change due back to the customer.
1 of 1
Download to read offline
More Related Content
Verilog
1. START
Select product
Select 1
Select 3
Select 2
Select 4
If product
available?
Insert desired coins for selected product
If right
amount?
Product out with
change return if any
END
No
Yes
Yes
Yes
No
Fig: Flow chart of Vending machine