Question

A customer want’s a vending machine that will accept Nickel and Dime and dispense gum or...


A customer want’s a vending machine that will accept Nickel and Dime and dispense gum or candy. The gum pack cost 20₵ and the candy cost 15₵. When the user enters a coin in the slot it should decode the type of coin that has been entered and will displayed the total amount enter thus far in a seven segment display. If that amount is less than the item cost the system will tell the user that they have insufficient funds to make such purchase. A keypad is available to the user in order to select the item they wish to purchase. The keypad has three buttons in the following order button 1(Candy), button 2(Gum), button 3(coin return). In the process of selecting an item, if the user decides to change their mind they have the option of canceling the transaction and subsequently will return the amount they have inputted thus far. If for somehow the user needs change back, it will only be given back in nickels and up to 15₵. When an item is dispense LED 1( Gum) or LED 2( Candy) should turn on.

Just need FSM

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
A customer want’s a vending machine that will accept Nickel and Dime and dispense gum or...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • C++ HW Question Your program will simulate a simple change maker for a vending machine. It...

    C++ HW Question Your program will simulate a simple change maker for a vending machine. It will start with a stock of coins and dollars. It will then repeatedly request the price for an item to be purchased or to quit. If given a price, it will accept nickels, dimes, quarters, one-dollar and five-dollar bills—deposited one at a time—in payment. When the user has deposited enough to cover the cost of the item, the program will calculate the coins to...

  • Overview - Vending Machine For this project, we will simulate a vending machine where, for simplicity,...

    Overview - Vending Machine For this project, we will simulate a vending machine where, for simplicity, all of the items in the machine are the same price of $1.25 The vending machine can receive Nickels, Dimes, Quarters, and one dollar Bills. The user can add money, ask for the product, ask for their money back, or walk away (exit). The program will interact with the user and allow the following commands: N - adds nickel D - adds dime Q...

  • Can you please help me with creating this Java Code using the following pseudocode? Make Change C...

    Can you please help me with creating this Java Code using the following pseudocode? Make Change Calculator (100 points + 5 ex.cr.)                                                                                                                                  2019 In this program (closely related to the change calculator done as the prior assignment) you will make “change for a dollar” using the most efficient set of coins possible. In Part A you will give the fewest quarters, dimes, nickels, and pennies possible (i.e., without regard to any ‘limits’ on coin counts), but in Part B you...

  • Please read case article, "Attention Kmart Shoppers? Into and out of Bankruptcy" and help me come...

    Please read case article, "Attention Kmart Shoppers? Into and out of Bankruptcy" and help me come up with a solution for the case as well as action steps to implement the solution! Thank you!! ATTENTION KMART SHOPPERS? Former Kmart CEO, Charles C. Conaway, failed in his 19-month effort to revive the iconic firm, resulting in the largest retailing bankruptcy filing in history on January 22, 2002 (Davies, et al., 2002). On March 11, 2002, bankrupt Kmart named James B. Adamson...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT