Lecture-17: Type 13 - Constructing model of Automatic vending machine using DFA

preview_player
Показать описание
A vending machine is an automated machine that provides items such as snacks, beverages, cigarettes to consumers after money, a credit card, or a specially designed card is inserted into the machine.

Basic Assumptions of Our vending machine.
1.Our machine only accepts the coin of 1,2 and 5.
2. The vending machine only gives snacks after the total amount of money inserted into the machine is equals to or greater than 5.
3. It does return the extra money incase of higher amount of money is inserted into the machine.
Рекомендации по теме
Комментарии
Автор

I watched the whole video because your description promised, "It does return the extra money incase [sic] of higher amount of money is inserted into the machine." Fail.

mitchpriestley
Автор

Can transition table made for this DFA ?

gadgetboy