Question: Please code me this one, I am stuck with this assignment. ****You must write a program in assembly language to achieve the desired output.*** Task:

Please code me this one, I am stuck with this assignment.

****You must write a program in assembly language to achieve the desired output.***

Task: The Vending Machine

There are 4 items, as shown in the table below.

Item # Item Price

(cents)

1.TEA 60

2.CHOCO 70

3.COFFEE 100

4.MOCHA 120

-You must ask for money input from the user. Money is in the form of 10, 20 or 50 cents.

-The user will input the item they want to purchase and the number of items they need

(example: 2 coffees).

-Then determine if the money entered is enough for the item (or items) purchased.

-The program must be able to return to a starting point to start a new option.

-Output the appropriate messages (like a vending machine would).

-You must write a program in assembly language to achieve the desired output.

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!