Question: data structures using python or java...need code in python or java...please ans fast 1. A company wants to evaluate employee records in order to lay

 data structures using python or java...need code in python or java...please

data structures using python or java...need code in python or java...please ans fast

1. A company wants to evaluate employee records in order to lay off some workers on the basis of service time (the most recently hired employees are laid off first). Only the employee ids are stored in stack. Write a program using stack and implement the following functions: Main program should ask the appropriate option from the user, until user selects an option for exiting the program. i) Enter_company (emp_id)- the accepted employee id integer) is pushed into stack. ii) Exit_company O- The recently joined employee will be laid off from the company iii) Show employee ()- display all the employees working in the company. iv) count()- displays the number of employees working in the company

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!