Completed

Payroll Shuffle

You are creating part of the payroll program for an Internet electronics store named "FluffShuffle Electronics". The owner of FluffShuffle has given you the following requirements: FluffShuffle employs six (6) people. The owner doesn't expect significant growth in his company, but may grow in the future. All of the employee data (name, address, etc.) is kept in a text file on your disk. Your program will read this employee data from the file and use that data to calculate the payroll for company employees. The program will have to calculate the payroll deductions for each employee and their net pay.

If you encounter errors while reading a data file, print an error message to the console, and close the file. Your program should not exit, since you might choose another file with correct data.

Suppose that your programming team has come up with a design for this program. In this design the data for each employee on the payroll will be held in a list, a tuple, a dictionary or an object of the Employee class. You get to choose how an employees data is stored.

An Employee has the following attributes:

employee number

name

street address

hourly wage

hours worked this week

The Employee as a list or tuple or dict

You can read the data for each employee into a list tuple, or dict, and then store that employee item as one element in the list of employees.

The Employee Class

An employee object will need the following methods:

A constructor for the employee class that takes arguments to initialize all of the above mentioned attributes.

A method, calc_salary(), that calculates and returns an employee's net pay as a double.

An employee's gross pay is calculated by multiplying the hours worked by their hourly wage. Be sure to give time-and-a-half for overtime (anything over 40 hours).

To compute the net pay, deduct 20% for Federal income tax, and 7.5% for state income tax.

Every employee on the payroll will need to be represented in the program by its own employee object. A convenient way to handle this will be to create a list of employee objects, using lists, tuples or classes.

GUI should look like picture below

Compétences : Python

en voir plus : java programming class sold item, visual basic payroll interface picture, daily state classified add item sale usa, wordpress active state class, picture adults class, picture adult class, joomla extended menu css class menu item, ecommerce item picture, payroll project class help, payroll project visual cpp class, virtuemart item picture, oscommerce picture item description, payroll class, dropdownlist country state class aspnet, upload picture description mysql php5 class

Concernant l'employeur :
( 0 commentaires ) United States

Nº du projet : #16686525

Décerné à:

CrazyWebGuru

hi, dear. I am interested in your work. your description is co clear for me. i get your full requirements. i can do it as you want, in time. hope to chat

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(1 Évaluation)
1.3

2 freelance font une offre moyenne de $33 pour ce travail

Grisha97924

Dear sir. I have full experience of python. I am full confident to complete your project and I do my best if you let me bid on yours. I focus on client's credit than money. I want to discuss more in detail. Tha Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0