Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Ai And The Lottery Defying Odds With Intelligent Prediction

Authors: Gary Covella Ph D

1st Edition

B0CND1ZB98, 979-8223302568

More Books

Students also viewed these Databases questions