SlideShare una empresa de Scribd logo
1 de 30
Vending machine
Student name : Rand F. Al-Aqrabawi
Dr. Abaza M. GH.
History
• Vending machine became popular during the
industrial revolution .
• The first modern coin-operated vending
machines were introduced in England in the
early 1880s .
• The first vending machine in the U.S. was built
in 1888 by the Thomas Adams Gum
Company.
• In 1897 games has been added to these
machine .
• In December 1970, Ussery Industries of
Dallas, Texas at its Dallas convention displayed
its "talking" vending machine, the Venda
Talker.
What is the vending machine
• Electronic machine used to disperse a product to a
consumer after a certain amount of money has been
put into the machine.
• Vending machines are commonly used to disperse
beverages and snack items, but in recent
years companies have introduced vending machines
that disperse other items, even including electronic
items such as digital cameras or iPods.
Simple vending machine
The vending machine delivers an item after it
has received 15 cents in coins.
The machine has a single coin slot that accepts
nickels and dimes, one coin at a time.
A mechanical sensor indicates whether a dime
or a nickel has been inserted into the coin slot.
The controller's output causes a single item to
be released down a chute to the customer.
Block diagram
N
D open
Reset
CLK
Vending machine
FSM
coin
sensor
Gum
release
mechanism
assume that N is asserted for one clock period
when a nickel is inserted into the coin slot and
that D is asserted when a dime has been
deposited.
Furthermore, we'll postulate that it is enough if
the machine asserts Open for one clock period
to release an item after 15 cents (or more) has
been deposited since the last reset.
Abstract representations
• Three nickels in sequence: N, N, N
• Two nickels followed by a dime: N, N, D
• A nickel followed by a dime: N, D
• A dime followed by a nickel: D, N
• Two dimes in sequence: D, D
State diagram
s1
s0
s3
s7
s2
s6
s8
s4 s5
reset
N
D
N
D
N
D
N
D
The machine will pass through the states S0, S1,
S3, S7 if the input sequence is three nickels.
in state S0 if neither input N or D is asserted, we
assume the machine remains in state S0 (the
specification allows us to assume that N and D
are never asserted at the same time).
Also, we include the output Open only in states
in which it is asserted. Open is implicitly
unasserted in any other state.
State Minimization
This nine-state description isn't the "best" possible.
For one thing, since states S4, S5, S6,S7 and S8
have identical behavior, they can be combined
into a single state.
To reduce the number of states even further, we
can think of each state as representing the
amount of money received so far. For example, it
shouldn't matter whether the state representing
10 cents was reached through two nickels or one
dime.
0
5
10
15
reset
N
N
N
D
D
State table
Minimized symbolic state transition
FSM IMPLEMENTATION
Vending machine kinds
There are so many types of vending machines available
from different vending machine manufacturers and
suppliers.
Some machines need electricity to vend the products,
while some others use mechanical motion to vend.
They come in several sizes, shapes, colors, and prices.
Vending machines are found mostly in shopping
malls, waiting areas, bowling alleys, businesses, and
schools.
Commonly vending machines
• Soda vending machine
• Gumball vending machine
• Snack vending machine
• Food and toy vending machine
• Coffee vending machine
• Cigarette vending machines
• Pop corn vending machine
Gumball vending machine
Coffee vending machine
Cigarette vending machine
Toys vending machine
Cold drinks vending machine
Snack vending machine
Designing coffee vending machine
Present state Input Next state Output
QA QB N D DA DB C
0 0 0 0 0 0 0
0 0 0 1 1 0 0
0 0 1 0 0 1 0
0 0 1 1 X X 0
0 1 0 0 0 1 0
0 1 0 1 1 1 0
0 1 1 0 1 0 0
0 1 1 1 X X 0
1 0 0 0 1 0 0
1 0 0 1 1 1 0
1 0 1 0 1 1 0
1 0 1 1 X X 0
1 1 0 0 1 1 1
1 1 0 1 1 1 1
1 1 1 0 1 1 1
1 1 1 1 X X 1
DA 00 01 11 10
00 1 1
01 1 1 1 1
11 X X X X
10 1 1 1
C 00 01 11 10
00 1
01 1
11 1
10 1
DB 00 01 11 10
00 1 1
01 1 1 1
11 X X X X
10 1 1 1
QA QB QA AB
QA QB
N
D
N
D
N
D
Flip-flop Inputs Equations and System Output
Equation and it’s conversion to NAND Gates:
• DA = QA + D + NQB
= (QA + D + NQB)”
= (QA’D’(NQB)’)’
• DB = NQB’ + NQA + DQA + N’QB
= (NQB’ + NQA + DQA + N’QB)”
= ((NQB’)’(NQA)’(DQA)’(N’QB)’)’
• C’ = (QAQB)’
= ((QAQB)’)”
= (QA’QB’)’
Logic circuit diagram using NAND gates and two Flip
Flops
References
• http://EzineArticles.com/352816 ^
• "Old World, High Tech". Smithsonian
Magazine.
• http://en.wikipedia.org/wiki/Vending_machin
e
• http://www.ecgf.uakron.edu/grover/web/ee2
63/labs/ASimpleVendingMachine.pdf
• : http://www.businessdictionary.com/definitio
n/vending-machine.html#ixzz2XoOXrsBt

Más contenido relacionado

La actualidad más candente

Washing machine
Washing  machineWashing  machine
Washing machine
Eng Eng
 
Lecture 2 transfer-function
Lecture 2 transfer-functionLecture 2 transfer-function
Lecture 2 transfer-function
Saifullah Memon
 
Moore and Mealy machines
Moore and Mealy machinesMoore and Mealy machines
Moore and Mealy machines
Irfan Anjum
 
Case study on automatic washing machine based on Internet of Things(IOT)
Case study on automatic washing machine based on Internet of Things(IOT)Case study on automatic washing machine based on Internet of Things(IOT)
Case study on automatic washing machine based on Internet of Things(IOT)
divyawani2
 
Finite state machines
Finite state machinesFinite state machines
Finite state machines
dennis gookyi
 

La actualidad más candente (20)

Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Washing machine
Washing  machineWashing  machine
Washing machine
 
Encoder
EncoderEncoder
Encoder
 
Counters
CountersCounters
Counters
 
Lecture 2 transfer-function
Lecture 2 transfer-functionLecture 2 transfer-function
Lecture 2 transfer-function
 
Dpsd lecture-notes
Dpsd lecture-notesDpsd lecture-notes
Dpsd lecture-notes
 
Moore and Mealy machines
Moore and Mealy machinesMoore and Mealy machines
Moore and Mealy machines
 
Modulo n counter
Modulo n counterModulo n counter
Modulo n counter
 
Successive approximation adc
Successive approximation adcSuccessive approximation adc
Successive approximation adc
 
Design and development of carry select adder
Design and development of carry select adderDesign and development of carry select adder
Design and development of carry select adder
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Case study on automatic washing machine based on Internet of Things(IOT)
Case study on automatic washing machine based on Internet of Things(IOT)Case study on automatic washing machine based on Internet of Things(IOT)
Case study on automatic washing machine based on Internet of Things(IOT)
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 
WIRELESS FLOOR CLEANING ROBOT
WIRELESS FLOOR CLEANING ROBOTWIRELESS FLOOR CLEANING ROBOT
WIRELESS FLOOR CLEANING ROBOT
 
Sample and hold circuit
Sample and hold circuitSample and hold circuit
Sample and hold circuit
 
Counters
CountersCounters
Counters
 
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machine
 
Finite state machines
Finite state machinesFinite state machines
Finite state machines
 
Introduction to multiplexer and demultiplexer
Introduction to multiplexer and demultiplexerIntroduction to multiplexer and demultiplexer
Introduction to multiplexer and demultiplexer
 
Automatic chocolate vending machine using mucos rtos ppt
Automatic chocolate vending machine using mucos rtos pptAutomatic chocolate vending machine using mucos rtos ppt
Automatic chocolate vending machine using mucos rtos ppt
 

Destacado (7)

Vending Machine Presentation
Vending Machine PresentationVending Machine Presentation
Vending Machine Presentation
 
market segmentation
market segmentationmarket segmentation
market segmentation
 
Segmentation Targeting Positioning
Segmentation Targeting PositioningSegmentation Targeting Positioning
Segmentation Targeting Positioning
 
Eat fresh vending machine - marketing plan
Eat fresh vending machine - marketing planEat fresh vending machine - marketing plan
Eat fresh vending machine - marketing plan
 
Segmentation / Targeting / Positioning
Segmentation / Targeting / PositioningSegmentation / Targeting / Positioning
Segmentation / Targeting / Positioning
 
Segmentation, Targeting, and Positioning
Segmentation, Targeting, and PositioningSegmentation, Targeting, and Positioning
Segmentation, Targeting, and Positioning
 
Market Segmentation, Targeting and Positioning
Market Segmentation, Targeting and PositioningMarket Segmentation, Targeting and Positioning
Market Segmentation, Targeting and Positioning
 

Último

Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
amitlee9823
 
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Anamikakaur10
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
daisycvs
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
amitlee9823
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
amitlee9823
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
dlhescort
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 

Último (20)

Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLBAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
 
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort ServiceMalegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 

Vending machine

  • 1. Vending machine Student name : Rand F. Al-Aqrabawi Dr. Abaza M. GH.
  • 2. History • Vending machine became popular during the industrial revolution . • The first modern coin-operated vending machines were introduced in England in the early 1880s . • The first vending machine in the U.S. was built in 1888 by the Thomas Adams Gum Company.
  • 3. • In 1897 games has been added to these machine . • In December 1970, Ussery Industries of Dallas, Texas at its Dallas convention displayed its "talking" vending machine, the Venda Talker.
  • 4. What is the vending machine • Electronic machine used to disperse a product to a consumer after a certain amount of money has been put into the machine. • Vending machines are commonly used to disperse beverages and snack items, but in recent years companies have introduced vending machines that disperse other items, even including electronic items such as digital cameras or iPods.
  • 5. Simple vending machine The vending machine delivers an item after it has received 15 cents in coins. The machine has a single coin slot that accepts nickels and dimes, one coin at a time. A mechanical sensor indicates whether a dime or a nickel has been inserted into the coin slot. The controller's output causes a single item to be released down a chute to the customer.
  • 6. Block diagram N D open Reset CLK Vending machine FSM coin sensor Gum release mechanism
  • 7. assume that N is asserted for one clock period when a nickel is inserted into the coin slot and that D is asserted when a dime has been deposited. Furthermore, we'll postulate that it is enough if the machine asserts Open for one clock period to release an item after 15 cents (or more) has been deposited since the last reset.
  • 8. Abstract representations • Three nickels in sequence: N, N, N • Two nickels followed by a dime: N, N, D • A nickel followed by a dime: N, D • A dime followed by a nickel: D, N • Two dimes in sequence: D, D
  • 10. The machine will pass through the states S0, S1, S3, S7 if the input sequence is three nickels. in state S0 if neither input N or D is asserted, we assume the machine remains in state S0 (the specification allows us to assume that N and D are never asserted at the same time). Also, we include the output Open only in states in which it is asserted. Open is implicitly unasserted in any other state.
  • 11. State Minimization This nine-state description isn't the "best" possible. For one thing, since states S4, S5, S6,S7 and S8 have identical behavior, they can be combined into a single state. To reduce the number of states even further, we can think of each state as representing the amount of money received so far. For example, it shouldn't matter whether the state representing 10 cents was reached through two nickels or one dime.
  • 16. Vending machine kinds There are so many types of vending machines available from different vending machine manufacturers and suppliers. Some machines need electricity to vend the products, while some others use mechanical motion to vend. They come in several sizes, shapes, colors, and prices. Vending machines are found mostly in shopping malls, waiting areas, bowling alleys, businesses, and schools.
  • 17. Commonly vending machines • Soda vending machine • Gumball vending machine • Snack vending machine • Food and toy vending machine • Coffee vending machine • Cigarette vending machines • Pop corn vending machine
  • 25.
  • 26. Present state Input Next state Output QA QB N D DA DB C 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 1 X X 0 0 1 0 0 0 1 0 0 1 0 1 1 1 0 0 1 1 0 1 0 0 0 1 1 1 X X 0 1 0 0 0 1 0 0 1 0 0 1 1 1 0 1 0 1 0 1 1 0 1 0 1 1 X X 0 1 1 0 0 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 X X 1
  • 27. DA 00 01 11 10 00 1 1 01 1 1 1 1 11 X X X X 10 1 1 1 C 00 01 11 10 00 1 01 1 11 1 10 1 DB 00 01 11 10 00 1 1 01 1 1 1 11 X X X X 10 1 1 1 QA QB QA AB QA QB N D N D N D
  • 28. Flip-flop Inputs Equations and System Output Equation and it’s conversion to NAND Gates: • DA = QA + D + NQB = (QA + D + NQB)” = (QA’D’(NQB)’)’ • DB = NQB’ + NQA + DQA + N’QB = (NQB’ + NQA + DQA + N’QB)” = ((NQB’)’(NQA)’(DQA)’(N’QB)’)’ • C’ = (QAQB)’ = ((QAQB)’)” = (QA’QB’)’
  • 29. Logic circuit diagram using NAND gates and two Flip Flops
  • 30. References • http://EzineArticles.com/352816 ^ • "Old World, High Tech". Smithsonian Magazine. • http://en.wikipedia.org/wiki/Vending_machin e • http://www.ecgf.uakron.edu/grover/web/ee2 63/labs/ASimpleVendingMachine.pdf • : http://www.businessdictionary.com/definitio n/vending-machine.html#ixzz2XoOXrsBt