Write a vending machine program with the Linux Shell Script. There will be only 3 items that you can choose from. Each item will have a set price that you can choose. If a user input money, they can...


Write a vending machine program with the Linux Shell Script. There will be only 3 items that you can choose from. Each item will have a set price that you can choose. If a user input money, they can keep making purchases until they either have no money or they want their change back. You can only use the while, until and for loops. You can also use the if, continue and break commands. Towards the end of the transaction, it must show: what item was purchased and how much money has been returned back to the user.



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here