computer science

posted by .

The owner of the super supermarket would like to have a program that computers the monthly gross pay of their employees as well as the employee's net pay. The input for this program is an employee ID number, hourly rate of pay, and number of regular and overtime hours worked. Gross pay is the sum of the wages earned from regular hours and overtime hours; overtime is paid at 1.5 times the regular rate. Net pay is gross pay minus deductions. Assume that dudctions are taken for tax withholding (30 percent of gross pay) and parking ($10 per month). You will need the following variables:
EmployeeID (a String) HourlyRate (a Float) RegHours (a Float) Tax (a Float) Parking (a Float) OvertimeHours (a Float) NetPay (a Float) You will need the following formulas: GrossPay = RegularHours * HourlyRate + OvertimeHours * (HourlyRate * 1.5) NetPay * GrossPay - (GrossPay * Tax) - Parking

  • computer science -

    You will probably notice that posting the question for computer programming without showing any of your work will not get much response.

    We will not write a complete program for you, because that will deprive you of the opportunity to learn.

    Programming cannot be learned by reading alone. A student who has never programmed will not likely even pass the exam, much less be able to find a job in programming.

    So be ready to programme if you are in computer science.

    If you have already started, post your questions or problems.

  • computer science -

    employeeID = ""
    hourlyRate = 0.0
    regularHours = 0.0
    grossPay = 0.0
    tax = 0.3
    parking = 10.0
    overtimeHours = 0.0
    netPay = 0.0

    input employeeID, hourlyRate, regularHours, overtimeHours

    grossPay = regularHours * hourlyRate + overtimeHours*hourlyRate*1.5

    netPay = grossPay-(grossPay*tax)-parking

    output grossPay, netPay

  • computer science -

    need help

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. programming

    A small startup software developer company needs to create a program that will calculate the pay of its employees. For the first version of the program, the company wants the program to accept an employee’s name, the number of hours …
  2. computers

    I have just started a basic class in programming and I am totally lost. Can someone help me out?
  3. CIS115

    A small startup software developer company needs to create a program that will calculate the pay of its employees. For the first version of the program, the company wants the program to accept an employee’s name, the number of hours …
  4. programing

    A small startup software developer company needs to create a program that will calculate the pay of its employees. For the third version of the program, the company wants the program to accept an employee’s name, the number of hours …
  5. computer

    A small startup software developer company needs to create a program that will calculate the pay of its employees. For the first version of the program, the company wants the program to accept an employee’s name, the number of hours …
  6. devry

    A small startup software developer company needs to create a program that will calculate the pay of its employees. For the third version of the program, the company wants the program to accept an employee’s name, the number of hours …
  7. computer Programming

    A small startup software developer company needs to create a program that will calculate the pay of its employees. For the third version of the program, the company wants the program to accept an employee’s name, the number of hours …
  8. computer programming

    small startup software developer company needs to create a program that will calculate the pay of its employees. For the third version of the program, the company wants the program to accept an employee’s name, the number of hours …
  9. programming

    write a program of a main module and three other modules. The owners of the Super Supermarket would like to have a program that computes the monthly gross pay of their employees as well as the employee’s net pay. The input for this …
  10. Bachelor of computer science

    A program is required to calculate the weekly pay for an employee. The pay clerk inputs an employee ID, hours worked and an hourly rate. The program will output the employee ID, and Gross Pay. Gross Pay is the sum of regular pay plus …

More Similar Questions