100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Summary cpt200 week2 assignment .docx CPT 200 Employee Management System CPT 200: Fundamentals of Programming Languages Employee Management For this weeks employee management assignment, I used the list structure to begin the programming. First, I created an $7.49   Add to cart

Summary

Summary cpt200 week2 assignment .docx CPT 200 Employee Management System CPT 200: Fundamentals of Programming Languages Employee Management For this weeks employee management assignment, I used the list structure to begin the programming. First, I created an

1 review
 160 views  2 purchases

cpt200 week2 assignment .docx CPT 200 Employee Management System CPT 200: Fundamentals of Programming Languages Employee Management For this weeks employee management assignment, I used the list structure to begin the programming. First, I created an index that would house five slots. Lists ar...

[Show more]

Preview 1 out of 2  pages

  • June 17, 2021
  • 2
  • 2020/2021
  • Summary
  • i used the list s
All documents for this subject (718)

1  review

review-writer-avatar

By: raiderfan99 • 1 year ago

The script doesn't do what the assignment asks.

avatar-seller
Braingain
CPT 200
Employee Management System
CPT 200: Fundamentals of Programming Languages
Employee Management
For this week’s employee management assignment, I used the list structure to begin the programming. First, I created an index that would house five slots. Lists are useful because they help reduce the number of variables a program uses, so a single list can store an entire collection of variables. Within the five slots I had to make sure that there were fields for each of the inputs that would be searched and compiled. The application was made to hold data within fields that were needed and allowed any user to use it as a search tool to help find specific employee information based on the number each employee is assigned. When the employee’s number is inputted, it should display all their information accordingly. This program is an easy and great way for businesses to access information on employees without having to input a lot of variables.
quit."))Script: emp = [] entEmp = 5
while(entEmp > 0):
empName = str(input("Employee Name: ")) empSSN = int(input("Employee SSN: ")) empPhone = str(input("Employee Phone: ")) empEmail = str(input("Employee Email: ")) empSalary = str(input("Employee Salary: "))
indEmp = [empName, empSSN, empPhone, empEmail, empSalary]
emp.append(indEmp)
entEmp -= 1
empSearch = str(input("Please enter the employee number to view information or Q to
while (empSearch != 'q' or empSearch != 'Q'):
if (empSearch == 'q' or empSearch == 'Q'): quit()
elif (int(empSearch) >= 1 and int(empSearch) <=5):
empIndex = int(empSearch) - 1 print(emp[empIndex])
empSearch = str(input("Enter employee number to view information or Q to quit

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Braingain. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $7.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75391 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$7.49  2x  sold
  • (1)
  Add to cart