Question: please answer question 4 and 5 based on question 1 i'll upvite you(urgent).... this the insert sales function Question 1 (6 marks) Assume you are


please answer question 4 and 5 based on question 1 i'll upvite you(urgent)....

this the insert sales function
Question 1 (6 marks) Assume you are creating a stack class. Given the student information as Date, Item, Qty, UnitPrice, and Amount. Please define a SalesNode to be used for creating a linked list. class Sales Node { public: ... continue... . . }; Question 4 (6 marks) Continued from Question 1, complete the code for Readfromfile function as follows:- void Readfromfile (?????) { /* This is a function to read sales data from a file and then insert into the linked list using function InsertSales */ continued. ..... - } Question 5 (6 marks) Continued from Question 1, complete the code for displayallsales function as follows:- void displayallsales o LS a function display all the sales data in the linked /* This list* continue Question 2 (6 marks) Continued from Question 1, complete the code for InsertSales function as follows:- void InsertSales (2222222 /* Insert new note to last item linked list*/ continue.... 12.1 RCIALS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
