Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

image text in transcribed

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions