Post a New Question

computer science

posted by on .

in visual logic

You will need to design an application that it will prompt a user for their hourly pay rate, their hours worked, and whether they are single, married, divorced, or widowed. It will then calculate their gross and net pay. If they work more than 40 hours, overtime is calculated at 1 ½ times the regular rate and displayed separately. If they are married, use a flat tax rate of 15%. If they are single, use 22%, if they are divorced, use 23%, and if they are widowed, use 13% (I realize that these are not very realistic). Here is a sample of what the program should do when run:

  • computer science- programming help needed - ,

    Assistance needed.

  • computer science - ,

    Visual Logic will allow you to create a flow chart which will then execute from a flow chart.

    Since we do not have Visual Logic available, we will help by showing an equivalent, a pseudocode, from which you can create your flow chart using Visual Logic.

    input:
    =====
    Hours worked: H
    Hourly rate: R
    Status: Status=M/S/D/W

    if H>40 then
    gross salary, G = H*R + (H-40)*R/2
    else
    gross salary, G = H*R
    endif

    if Status=M
    net salary = G*(1-0.15)
    else if Status = S
    net salary = G*(1-0.22)
    else if Status = D
    net salary = G*(1-0.23)
    else if Status = W
    net salary = G*(1-0.13)
    else
    Print: "error in status".
    endif

  • computer science - ,

    If 2 pie = 6.28, then what would 1 pie=

  • computer science - ,

    6.28/2

Answer This Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Post a New Question