Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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: EDoe,John,Sales,
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 $
Exit: Terminate the program.
Requirements:
Use file IO 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started