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 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
Get step-by-step solutions from verified subject matter experts
