Question: Question 1 (CI Assume you are creating a stack class. Given the student information as Date, Item, Qty, UnitPrice, and Amount. Please define a SalesNode

 Question 1 (CI Assume you are creating a stack class. Given

Question 1 (CI 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 SalesNode public: .......continue..... }; Question 24 Continued from Question 1, complete the code for InsertSales function as follows:- void InsertSales (????????) /* Insert new note to last item linked list/ .......continue..... Question 3 (GMT Continued from Question 1, complete the code for getTotalAmount function as follows:- float getTotalAmount () /* This function is to sum the amount in the linked List and return the sum amount to the calling statement*/ ....... continue..... Question 4 marks) Continued from Question 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 / ...continue...... Question marks Continued from Question 1, complete the code for displayallsales function as follows:- void displayallsales /* This is a function display all the sales data in the linked list/ ......continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!