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 ==============================

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter13: Structures
Section13.5: Dynamic Data Structure Allocation
Problem 3E
icon
Related questions
Question

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:
Transcribed Image Text: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:
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps with 4 images

Blurred answer
Knowledge Booster
Operations of Linked List
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning