Example for Problem 1

pdf

School

Texas A&M University *

*We aren’t endorsed by this school

Course

107

Subject

Industrial Engineering

Date

Jan 9, 2024

Type

pdf

Pages

4

Uploaded by DoctorComputerPrairieDog26

Report
Python 3.11.6 (tags/v3.11.6:8b6ee5b, Oct 2 2023, 14:57:12) [MSC v.1935 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> = RESTART: C:/Users/projn/Documents/TA Fall 2023/11012023_lab_assginment8/p.py Please input choice from the menu **********Main Menu********** 1. Add Employee 2.Look up Employee 3.Edit Employee 4.Delete Employee 5.Quit ****************************** 1 Your choice is 1. Please enter name, ID, job title, and department of the employee Enter name:Rigel Enter ID:3423 Enter job title:Tester Enter department:Nutrition All the employee in this company: {'3423': {'Name': 'Rigel', 'Job Title': 'Tester', 'Department': 'Nutrition'}} Please input choice from the menu **********Main Menu********** 1.Add Employee 2.Look up Employee 3.Edit Employee 4.Delete Employee 5.Quit ****************************** 1 Your choice is 1. Please enter name, ID, job title, and department of the employee Enter name:Vega Enter ID:8970 Enter job title:Researcher Enter department:Packaging All the employee in this company: {'3423': {'Name': 'Rigel', 'Job Title': 'Tester', 'Department': 'Nutrition'}, '8970': {'Name': 'Vega', 'Job Title': 'Researcher', 'Department': 'Packaging'}} Please input choice from the menu **********Main Menu********** 1.Add Employee 2.Look up Employee
3.Edit Employee 4.Delete Employee 5.Quit ****************************** 2 Your choice is 2. Please input the ID of the employee you want to search:7890 The employee id does not exist. All the employee in this company: {'3423': {'Name': 'Rigel', 'Job Title': 'Tester', 'Department': 'Nutrition'}, '8970': {'Name': 'Vega', 'Job Title': 'Researcher', 'Department': 'Packaging'}} Please input choice from the menu **********Main Menu********** 1.Add Employee 2.Look up Employee 3.Edit Employee 4.Delete Employee 5.Quit ****************************** 2 Your choice is 2. Please input the ID of the employee you want to search:3423 Name is: Rigel ID is: 3423 Job title is: Tester Deparment is: Nutrition All the employee in this company: {'3423': {'Name': 'Rigel', 'Job Title': 'Tester', 'Department': 'Nutrition'}, '8970': {'Name': 'Vega', 'Job Title': 'Researcher', 'Department': 'Packaging'}} Please input choice from the menu **********Main Menu********** 1.Add Employee 2.Look up Employee 3.Edit Employee 4.Delete Employee 5.Quit ****************************** 3 Your choice is 3. Please input the ID of the employee you want to search:1245 The employee id does not exist. All the employee in this company: {'3423': {'Name': 'Rigel', 'Job Title': 'Tester', 'Department': 'Nutrition'},
'8970': {'Name': 'Vega', 'Job Title': 'Researcher', 'Department': 'Packaging'}} Please input choice from the menu **********Main Menu********** 1.Add Employee 2.Look up Employee 3.Edit Employee 4.Delete Employee 5.Quit ****************************** 3 Your choice is 3. Please input the ID of the employee you want to search:3423 The employee ID exists. Please enter name, job title, and department of the employee Enter name:Rigel Enter job title:Tester Enter department:Packaging All the employee in this company: {'3423': {'Name': 'Rigel', 'Job Title': 'Tester', 'Department': 'Packaging'}, '8970': {'Name': 'Vega', 'Job Title': 'Researcher', 'Department': 'Packaging'}} Please input choice from the menu **********Main Menu********** 1.Add Employee 2.Look up Employee 3.Edit Employee 4.Delete Employee 5.Quit ****************************** 4 Your choice is 4. Please input the ID of the employee you want to search:8790 The employee id does not exist. All the employee in this company: {'3423': {'Name': 'Rigel', 'Job Title': 'Tester', 'Department': 'Packaging'}, '8970': {'Name': 'Vega', 'Job Title': 'Researcher', 'Department': 'Packaging'}} Please input choice from the menu **********Main Menu********** 1.Add Employee 2.Look up Employee 3.Edit Employee 4.Delete Employee 5.Quit ******************************
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
4 Your choice is 4. Please input the ID of the employee you want to search:8970 The employee ID exists. Deleting the employee ID All the employee in this company: {'3423': {'Name': 'Rigel', 'Job Title': 'Tester', 'Department': 'Packaging'}} Please input choice from the menu **********Main Menu********** 1.Add Employee 2.Look up Employee 3.Edit Employee 4.Delete Employee 5.Quit ****************************** 5 You have decided to quit. Goodbye