Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following is a virtual vending machine simulator that meets the following requirements: 1 . The customer can input the following coins: 5 - cent,

The following is a virtual vending machine simulator that meets the following requirements:
1.The customer can input the following coins: 5-cent, 10-cent, 25-
cent.
2. When 75 cents is input, the machine will activate the dispenser
and permit the customer to select a product.
3. When at least 75 cents is input no more coins will be accepted.
4. Change will be returned to the customer if more than 75 cents
is deposited.
5. A reset button will return the customers money.
6. When a product is dispensed, 75 cents will be added to the
machines Total Money Collected register.
7. No product is dispensed if less than 75 cents is deposited.
8. The current number of items available for each product is stored
in a counter.
9. When a service technician restocks the machine the item count
for each product is set to 15, which is the maximum number of
items that can be stocked.
10. If the number of products available is zero for any one product
the machine will light a sold out light and no action will be
taken if that product is selected.
This circuit uses only combinational logic and is an example of a
reasonably complex system.
Unfortunatley, there is an issue with the machine that I'm dealing with. Requirement three is that the coin input will stop once 75 cents is reached but this is not working so customers can continue depositing coins into the machine. How do I correct this issue?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

More Books

Students also viewed these Databases questions

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago