Question: Create a program that implements a singly linked list of Employee. Each node must contain the following variables: Employee_Name Employee_ID Salary In main(): 1. Create

 Create a program that implements a singly linked list of Employee.

Create a program that implements a singly linked list of Employee. Each node must contain the following variables: Employee_Name Employee_ID Salary In main(): 1. Create the following list using addHead(). The list must be in the order shown below. Student_ID Student_Name Salary 00235 Mohammad 15000 00662 Ahmed 17000 00999 Ali 00171 Fahad 16000 14000 2. Print the list using toString() method. 3. Add all salaries and take avarage 4. Print total salary and average

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!