Question: Writing in C# Task - A Vending Machine - You are going to build a vending machine. The machine offers 3 products: soda, cookies, and
Writing in C#

Task - A Vending Machine - You are going to build a vending machine. The machine offers 3 products: soda, cookies, and chips. Soda is $1, cookies is $2, and chips is 1.5$. - Your program will prompt the user to select products and quantities. Send a warning if the user input is invalid. - Because the user can select multiple items, your program should ask the user if that is all for today. Finally, let the user know his/her total. = $1 = OSU Snacks menu Enter 1 for soda, price Enter 2 for cookies, price $2 Enter 3 for chips, price $1.5 1 You choose soda. How many do you want? 3 = Press y if that is all for today: y Your total is $3 Hit any key to exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
