Programing

write a pseudocode for a program that asks for the Employee ID, the hours worked and the pay rate, then returns the employee's gross pay for the week?

  1. 👍
  2. 👎
  3. 👁
  1. Can we see what you've done?

    1. 👍
    2. 👎
  2. Don't no

    1. 👍
    2. 👎
  3. The following pseudocode is supposed to print the area of a rectangle. What is the problem ?

    area = width x length ;

    display "what is the width "

    input width

    display "What is length"

    input length

    display area

    1. 👍
    2. 👎
  4. Begin_Payroll
    PRINT (“Enter employee ID”
    READ employee num
    END
    PRINT (“Enter employee last name”)
    READ employee last name
    END
    PRINT (“rate of pay per hour”)
    READ rate of pay per hour
    END
    PRINT (“Enter hours worked”)
    READ hours worked
    END
    Gross pay = Hours worked * rate of pay per hour
    if hours <= 0
    print "error - no hours entered"
    else if hours <= 40
    pay = rate * hours
    else
    pay = rate*40 + rate*1.5*(hours-40)
    endif

    1. 👍
    2. 👎

Respond to this Question

First Name

Your Response

Similar Questions

  1. Pseudocode

    Write an algorithm and pseudocode that represents a program that allows a user to enter two numbers. Your program should calculate the sum, difference (both directions), product, and quotient (both directions) of the two numbers.

  2. Programming

    Write a pseudocode to represent the logic of a program that allows a user to enter an hourly pay rate and hours worked. The program outputs the user's gross pay

  3. Programming

    Write pseudocode to represent the logic of a program that allows the user to enter a value for hours worked in a day. The program calculates the hours worked in a five day week and the hours worked in a 252 day work year. The

  4. Cmin

    Draw a flowchart and write pseudocode to represent the logic of a program that allows the user to enter two values. The program outputs the sum of and the difference between the two values.

  1. computer science

    Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter a value. The program multiplies the value by 10 and outputs the result…

  2. visual basic

    Write a visual basic program to calculate total pay of employee who get an additional pay of 10% to their basic salary if they worked for more than 10years for the company

  3. Math grade 5-6

    Alice works part-time after school. On Monday, Alice records that she worked three and two-sixth hours. On Tuesday, Alice records that she worked one and seventy-five hundredths hours. On Wednesday, Alice records that she worked

  4. CIS

    Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter a value. The program multiplies the value by 10 and outputs the result.

  1. Computer Programing & Logic Design

    Submit pseudocode and a flowchart for the following programming exercise: Test Average and Grade Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the

  2. 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

  3. math

    Lucy earns money babysitting. Her earnings and hours worked represent a direct variation. She worked for 4 hours and earned $25. Determine the constant of proportionality for hours worked per dollar earned. ;D

  4. 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

You can view more similar questions or ask a new question.