I am very new on pascal and it happends to be my first programming experience. I have an assignment and I dont know how I am going to complete it in 12 hours.
-create a programm that will display the menu
Midrand Graduate Institude
Canteen System Menu
A. Produce a till slip
B. Totals report
Please enter your choice (A,B or Q)
-Producing a till slip-> the following needs to take place in this procedure : The user should enter the method of payment i.e. 1 Cash,2 Credit, 3 Account and a receipt number should be assigned to every transaction.
if a customer is paying cash then he gets 10% discount and the only the date is recorded.
if a customer is using Credit then he gets 5% discount the Client name,id and date has to be recorded.
if a customer is paying by Account then he gets 2.5% discount and the client account number, ckient name,id and date need to be recorded.
The customer has an option to buy the following
Product number Description Cost Price
101 Coke 4.50
102 Fanta 4.50
103 Sprite 4.50
110 Hamburger 10.99
-allow to select product number
-allow user to enter number of products bought
-assign cost price to product selected according to product number and work out how much it will cost the client
-accumulate the total of all products bought and and 14%.
The till slip should lok like
Date: 28/3/2003 Account Number:
-the programme should be able to accept money from a client and work out change(if any) and display to screen. After this the main menu should be displayed again. If a client pays with Credit or Account then change should be 0(zero).
-Totals report -> totals that are accumulated on sales should be displayed when user slects total reports from menu.
eg. Number of sales: 1
Total before Vat: 100.00
Total Vat: 12.60
Total after Vat: 102.60
Your help would be greatly appreciated.
0 · ·