Asked by Amanda
                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?
            
            
        Answers
                    Answered by
            MathMate
            
    Can we see what you've done?
    
                    Answered by
            parindiya
            
    Don't no
    
                    Answered by
            APark
            
    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
    
area = width x length ;
display "what is the width "
input width
display "What is length"
input length
display area
                    Answered by
            Jada
            
    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
    
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
                                                    There are no AI answers yet. The ability to request AI answers is coming soon!
                                            
                Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.