Question: Sick Test Practice Questions You are a software developer intern at Tech Edu Solutions. Your task is to develop a Python application that assists the

Sick Test Practice Questions
You are a software developer intern at Tech Edu Solutions. Your task is to develop a Python application that assists the Human Resources (HR) department in managing employee payroll data. The system should enable HR managers to view employees' salary details and identify employees who are eligible for a bonus.
Task:
Develop a Python program that performs the following operations:
Load Employee Data:
Read the contents of employees.txt and store them in a data structure of your choice. The file employees.txt contains each employee's details in the following format: EmployeeID,LastName,FirstName,Department,AnnualSalary
Example line: E1001,Doe,John,Sales,55000
Display a Menu:
Show the following options to the HR manager:
View Salary Details
List Bonus Eligible Employees
Exit
Implement the Menu Options:
View Salary Details: Prompt for an EmployeeID, then retrieve and display the annual salary and monthly salary (calculated). Display the salary rounded to two decimal points.
List Bonus Eligible Employees: Display a list of employees eligible for a bonus. An employee is eligible if their annual salary is above $50,000.
Exit: Terminate the program.
Requirements:
Use file I/O to read data.
Utilize functions to organize your code.
Employ data structures like lists, tuples, or dictionaries.
Implement control structures for flow control (loops and conditional statements).
Notes:
Ensure that first names and last names are correctly handled and displayed where necessary.
Round all displayed salary figures to two decimal points.
 Sick Test Practice Questions You are a software developer intern at

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!