hi all
sorry because i'm writing in english, but because i leave in uk and study there as well
anyway i've got an assigment to do and our totur ask us to do this applcation
Stage 1 40 - 50%
You are to design, implement, test and provide suitable documentation for a program that mimics the control system for a hot and cold drink vending machine.
The machine is to offer (display) the following options:
Hot Chocolate 99p - type in H
Pepsi 108p – type in P
Orange Juice 85p - type in O
Tea 50p - type in T
To Display total of Items Obtained and Exit program type in E
Your program is to operate continually, allowing users to obtain items until they have ordered all that they want, at which point they will select menu option E to see their purchases and exit the program. If the user types in anything other than the required characters the machine will display a suitable error message.
On termination the program is to display the number and details of purchases made. Your program does not deal with prices or bills etc. at this stage (see Stages 2 and 3 below).
A very simple User Guide is expected to be provided.
Stage 2 50 – 60%
As Stage 1 above but machine stock of each item is to be set at 5 initially and it's value decremented after each selection. If the user selects a 'sold-out' item the machine will provide a suitable message to the user.
Once the machine has sold out of ALL stock of ALL items it should terminate after displaying a suitable message. Your program does not deal with prices or bills etc. at this stage (see Stage3 below). A very simple User Guide is expected to be provided.
Stage 3 60% plus
As Stages 1 and 2 above but now the machine will provide a detailed bill for the purchases made together with a total amount required to be paid..
The user will be asked to pay for the goods by typing in the amount required.
Should the bill be 456 and the user type in 500, the machine will calculate change required. A very simple User Guide is expected to be provided. Further marks may be earned by use of Methods, exceptions etc.
we use c# concole applcation
can any one help please because i miss alot of class in c# and that is because i was in my country
please help me
