I am not that good at programming and I need a little push on how I can start my programming on the vending machine.
The basic of the homework is that it displays four snacks and corresponding Labels that indicate numbers for each snack. I need to use a string array that contains the names of each snack. The GUI should contain a TextBox in which the user specifies the number of the desired snack. When the Dispense Snack Button is clicked, the name of the selected snack should be displayed. If the user enters a snack value not int he range, an IndexOutOfRangeException will occur. Use exception handling so that whenever an IndexOutOfRangeException occurs, a MessageBox is displayed indicating the proper range of values. Also, handle any possible FormatExceptions that may occur.
If there is a possible way for you to give me a little push on how to start it, then I'll be okay from there. But right now, I wouldn't know how to start it. Thank you.
P.S. I'm using the program Microsoft Visual C# 2005 Express Edition.
-Kunthea