Write a vending machine program with the Linux S
amitumake
Question
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.
Details
Purchase An Answer Below