Finite state machines. Example -1 Consider a very simple version of American vending machine which provides chewing gum at a cost of 15 cents per packets,
Finite state machines