Exercise 3: Building a Point of Sales (POS) using a 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...

please help. i didnt manage to do it. especially the delete function for activity 3. Thank you in advanceExercise 3: Building a Point of Sales (POS) using a linked list data structure.<br>In a POS system, a transaction is based on items purchased by the customer. The following is an example<br>of a customer transaction receipt, where the prices shown in the receipt are GST inclusive.<br>RM<br>1072654 PAGODA GNUT 110G<br>1003376 HUP SENG CREAM CRAK<br>3158596 YIT FOH 2N1 KOPI-O 1<br>3173289 ZOELIFE S/N & SEEDS<br>1019929 GATSBY S/FO WET&HARD<br>4162999 GB W/G U/HOLD 150G<br>SUBTOTAL<br>3.49 S<br>4.19 S<br>7.28 S<br>5.24 S<br>16.99 S<br>6.49 S<br>43.68<br>TOTAL (GST INCL)<br>CASH<br>ROUNDING ADJUSTMENTS<br>CHANGE DUE<br>43.68<br>50.00<br>0.02<br>6.30<br>YOUR SAVINGS FOR TODAY<br>0.37<br>GST - Rate -----GST Excl -- GST Amt<br>6%<br>41.21<br>2.47<br>Figure 1: Sample of POS transaction slip<br>Activity<br>1.<br>Write a linked list program using a struct that stores items (barcode, item name, price, and GST code) in<br>the transaction and all related functions.<br>2. Test the program by printing the items in the linked list (output as shown in Figure 1) up to Total only.<br>Delete an item from the linked list and show new output (total price of the transaction).<br>3.<br>

Extracted text: Exercise 3: Building a Point of Sales (POS) using a 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. 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 Figure 1: Sample of POS transaction slip Activity 1. Write a linked list program using a struct that stores items (barcode, item name, price, and GST code) in the transaction and all related functions. 2. Test the program by printing the items in the linked list (output as shown in Figure 1) up to Total only. Delete an item from the linked list and show new output (total price of the transaction). 3.

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here