Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 RCIALSStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started