Building a Point of Sales (POS) linked list data structure. In a POS system, a transaction is based on items purchased by the customer. The following is an example of a customer transaction receipt, where the prices shown in the receipt are GST inclusive. Write a linked list classes (one class for Node and another class for List), which store the items in the transaction. Test the classes by printing the items in the linked list and show the total price of the transaction. The following listing is the sample output for your reference: ============================== BC Items Price ============================== 10 Pagoda Gnut 110g 3.49 11 Hup Seng Cream Cracker 4.19 12 Yit Poh 2n1 Kopi-o 7.28 13 Zoelife SN & Seed 5.24 14 Gatsby S/FO Wet&Hard 16.99 15 GB W/G U/Hold 150g 6.49 ============================== Total (GST Incl.) 43.68 ==============================
Part 3: Building a Point of Sales (POS) linked list data structure. |
In a POS system, a transaction is based on items purchased by the customer. The following is an example of a customer transaction receipt, where the prices shown in the receipt are GST inclusive.
Write a linked list classes (one class for Node and another class for List), which store the items in the transaction. Test the classes by printing the items in the linked list and show the total price of the transaction. The following listing is the sample output for your reference:
============================== BC Items Price ============================== 10 Pagoda Gnut 110g 3.49 11 Hup Seng Cream Cracker 4.19 12 Yit Poh 2n1 Kopi-o 7.28 13 Zoelife SN & Seed 5.24 14 Gatsby S/FO Wet&Hard 16.99 15 GB W/G U/Hold 150g 6.49 ============================== Total (GST Incl.) 43.68 ============================== |
![Part 3: Building a Point of Sales (POS) linked list data structure. [30-60 minutes]
Compress all your program file(s) in a ZIP file and rename it as : <your matric no>.zip
Submit your zip file to the submission link provided in Smart2 before or on 19/10/2017.
In a POS system, a transaction is based on items purchased by the customer. The following is
an example of a customer transaction receipt, where the prices shown in the receipt are GST
inclusive.
RM
1072654 PAGODA GNUT 110G
1003376 HUP SENG CREAM CRAK
3158596 YIT FOH 2N1 KOPI-O 1
3173289 ZOELIFE S/N & SEEDS
1019929 GATSBY S/FO WET&HARD
4162999 GB W/G U/HOLD 150G
SUBTOTAL
3.49 S
4.19 S
7.28 S
5.24 S
16.99 S
6.49 S
43.68
TOTAL (GST INCL)
CASH
ROUNDING ADJUSTMENTS
CHANGE DUE
43.68
50.00
0.02
6.30
YOUR SAVINGS FOR TODAY
0.37
GST - Rate -----GST Excl -- GST Amt
6%
41.21 2.47
Write a linked list classes (one class for Node and another class for List), which store the items
in the transaction. Test the classes by printing the items in the linked list and show the total
price of the transaction. The following listing is the sample output for your reference:](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F1c100b70-bba9-4a44-bc4a-71fa7075be59%2Fc833e47b-f4bb-4c76-802d-97ce4b7a60a9%2Fma8rq5k_processed.png&w=3840&q=75)

Trending now
This is a popular solution!
Step by step
Solved in 6 steps with 4 images









