Question: A vending machine sells 3 items: Candy bars $0.80, potato chips $0.60, and chewing gum $0.40. The vending machine only accepts $5.00 bills, $1.00 bills,

A vending machine sells 3 items: Candy bars $0.80, potato chips $0.60, and chewing gum $0.40. The vending machine only accepts $5.00 bills, $1.00 bills, $0.25, $0.010, and $0.05.

This is a Labview question for creating VIs.

Create a flow chart and show theses conditions:

1. 8 Inputs: 3 items and 5 forms of currency

2. Is the amount of money inputted enough for the random item selected.

3. Display message if more money is needed. Light an LED indicator with the remainder needed.

4. Display message when enough money is entered for a random selection

5. Based on the selection display message indicating change, if any, is due.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!