Question: Assignments in Python Assignment 1 USE While loop to create employee database When you run the program it should display something like this: IT DEPT

Assignments in Python
Assignment 1
USE While loop to create employee database
When you run the program it should display something like this:
IT DEPT
ACC DEPT
HR DEPT
Enter youor choice: 1
Welcome to IT DEPT
Enter employee id:
Enter employee name:
Enter employee salary:
calculate annual_salary = salary *12
print salary
print annual salary
if annual salary is more than 60000
print you are making good money
otherwise
print you should work more
after you enter one employee for any of department ask the question if you want to enter more employee
after you enter more employee you decide to end once you quit entering employees it should show the sum of annual_salary from all employees that you entered
 Assignments in Python Assignment 1 USE While loop to create employee

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!